|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jaudiotagger.audio.asf.io.WriteableChunkModifer
public class WriteableChunkModifer
A chunk modifier which works with information provided by
WriteableChunk objects.
| Field Summary | |
|---|---|
private WriteableChunk |
writableChunk
The chunk to write. |
| Constructor Summary | |
|---|---|
WriteableChunkModifer(WriteableChunk chunk)
Creates an instance. |
|
| Method Summary | |
|---|---|
boolean |
isApplicable(GUID guid)
Determines, whether the modifier handles chunks identified by given guid. |
ModificationResult |
modify(GUID guid,
java.io.InputStream chunk,
java.io.OutputStream destination)
Writes a modified copy of the chunk into the destination.. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final WriteableChunk writableChunk
| Constructor Detail |
|---|
public WriteableChunkModifer(WriteableChunk chunk)
chunk - chunk to write| Method Detail |
|---|
public boolean isApplicable(GUID guid)
guid.
isApplicable in interface ChunkModifierguid - GUID to test.
true, if this modifier can be used to modify the
chunk.
public ModificationResult modify(GUID guid,
java.io.InputStream chunk,
java.io.OutputStream destination)
throws java.io.IOException
destination..
modify in interface ChunkModifierguid - GUID of the chunk to modify.chunk - 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 | ||||||||