public class AsfExtHeaderModifier extends Object implements ChunkModifier
Constructor and Description |
---|
AsfExtHeaderModifier(List<ChunkModifier> modifiers)
Creates an instance.
|
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. . |
public AsfExtHeaderModifier(List<ChunkModifier> modifiers)
modifiers
- modifiers to apply.public boolean isApplicable(GUID guid)
guid
.isApplicable
in interface ChunkModifier
guid
- GUID to test.true
, if this modifier can be used to modify the
chunk.public org.jaudiotagger.audio.asf.io.ModificationResult modify(GUID guid, InputStream source, OutputStream destination) throws IOException
destination.
.modify
in interface ChunkModifier
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.