|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jaudiotagger.audio.asf.data.Chunk
public class Chunk
This class represents a chunk within asf streams.
Each chunk starts with a 16byte guid identifying the type. After that a
number (represented by 8 bytes) follows which shows the size in bytes of the
chunk. Finally there is the data of the chunk.
Constructor Summary | |
---|---|
Chunk(GUID headerGuid,
long pos,
java.math.BigInteger chunkLen)
Creates an instance |
Method Summary | |
---|---|
long |
getChunckEnd()
This method returns the End of the current chunk introduced by current header object. |
java.math.BigInteger |
getChunkLength()
|
GUID |
getGuid()
|
long |
getPosition()
|
java.lang.String |
prettyPrint()
This method creates a String containing usefull information prepared to be printed on stdout. |
java.lang.String |
toString()
(overridden) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Chunk(GUID headerGuid, long pos, java.math.BigInteger chunkLen)
headerGuid
- The GUID of header object.pos
- Position of header object within stream or file.chunkLen
- Length of current chunk.Method Detail |
---|
public long getChunckEnd()
public java.math.BigInteger getChunkLength()
public GUID getGuid()
public long getPosition()
public java.lang.String prettyPrint()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |