|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChunkModifier
Reads an ASF chunk and writes a modified copy.
Method Summary | |
---|---|
boolean |
isApplicable(GUID guid)
Determines, whether the modifier handles chunks identified by given guid . |
ModificationResult |
modify(GUID guid,
java.io.InputStream source,
java.io.OutputStream destination)
Writes a modified copy of the chunk into the destination. . |
Method Detail |
---|
boolean isApplicable(GUID guid)
guid
.
guid
- GUID to test.
true
, if this modifier can be used to modify the
chunk.ModificationResult modify(GUID guid, java.io.InputStream source, java.io.OutputStream destination) throws java.io.IOException
destination.
.
guid
- GUID of the chunk to modify.source
- a stream providing the chunk, starting at the chunks length
field.destination
- destination for the modified chunk.
java.io.IOException
- on I/O errors.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |