FileDocCategorySizeDatePackage
ChunkModifier.javaAPI DocJaudiotagger 2.0.41283Wed Mar 30 16:11:50 BST 2011org.jaudiotagger.audio.asf.io

ChunkModifier

public interface ChunkModifier
Reads an ASF chunk and writes a modified copy.
author
Christian Laireiter

Fields Summary
Constructors Summary
Methods Summary
public booleanisApplicable(org.jaudiotagger.audio.asf.data.GUID guid)
Determines, whether the modifier handles chunks identified by given guid.

param
guid GUID to test.
return
true, if this modifier can be used to modify the chunk.

public ModificationResultmodify(org.jaudiotagger.audio.asf.data.GUID guid, java.io.InputStream source, java.io.OutputStream destination)
Writes a modified copy of the chunk into the destination..

param
guid GUID of the chunk to modify.
param
source a stream providing the chunk, starting at the chunks length field.
param
destination destination for the modified chunk.
return
the differences between source and destination.
throws
IOException on I/O errors.