|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WriteableChunk
Implementors can write themselves directly to an output stream, and have the
ability to tell the size they would need, as well as determine if they are
empty.
Method Summary | |
---|---|
long |
getCurrentAsfChunkSize()
This method calculates the total amount of bytes, the chunk would consume in an ASF file. |
GUID |
getGuid()
Returns the GUID of the chunk. |
boolean |
isEmpty()
true if it is not necessary to write the chunk into an ASF
file, since it contains no information. |
long |
writeInto(java.io.OutputStream out)
Writes the chunk into the specified output stream, as ASF stream chunk. |
Method Detail |
---|
long getCurrentAsfChunkSize()
GUID getGuid()
boolean isEmpty()
true
if it is not necessary to write the chunk into an ASF
file, since it contains no information.
true
if no useful data will be preserved.long writeInto(java.io.OutputStream out) throws java.io.IOException
out
- stream to write into.
java.io.IOException
- on I/O errors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |