public interface ChunkModifier
Modifier and Type | Method and Description |
---|---|
boolean |
isApplicable(GUID guid)
Determines, whether the modifier handles chunks identified by given
guid . |
org.jaudiotagger.audio.asf.io.ModificationResult |
modify(GUID guid,
InputStream source,
OutputStream destination)
Writes a modified copy of the chunk into the
destination. . |
boolean isApplicable(GUID guid)
guid
.guid
- GUID to test.true
, if this modifier can be used to modify the
chunk.org.jaudiotagger.audio.asf.io.ModificationResult modify(GUID guid, InputStream source, OutputStream destination) throws 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.IOException
- on I/O errors.Copyright © 2005–2020 jthink.net. All rights reserved.