org.jaudiotagger.audio.real
Class RealChunk

java.lang.Object
  extended by org.jaudiotagger.audio.real.RealChunk

public class RealChunk
extends java.lang.Object


Field Summary
private  byte[] bytes
           
protected static java.lang.String CONT
           
protected static java.lang.String DATA
           
private  java.lang.String id
           
protected static java.lang.String INDX
           
protected static java.lang.String MDPR
           
protected static java.lang.String PROP
           
protected static java.lang.String RMF
           
private  int size
           
 
Constructor Summary
RealChunk(java.lang.String id, int size, byte[] bytes)
           
 
Method Summary
 byte[] getBytes()
           
 java.io.DataInputStream getDataInputStream()
           
 java.lang.String getId()
           
 int getSize()
           
 boolean isCONT()
           
 boolean isPROP()
           
static RealChunk readChunk(java.io.RandomAccessFile raf)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RMF

protected static final java.lang.String RMF
See Also:
Constant Field Values

PROP

protected static final java.lang.String PROP
See Also:
Constant Field Values

MDPR

protected static final java.lang.String MDPR
See Also:
Constant Field Values

CONT

protected static final java.lang.String CONT
See Also:
Constant Field Values

DATA

protected static final java.lang.String DATA
See Also:
Constant Field Values

INDX

protected static final java.lang.String INDX
See Also:
Constant Field Values

id

private final java.lang.String id

size

private final int size

bytes

private final byte[] bytes
Constructor Detail

RealChunk

public RealChunk(java.lang.String id,
                 int size,
                 byte[] bytes)
Method Detail

readChunk

public static RealChunk readChunk(java.io.RandomAccessFile raf)
                           throws CannotReadException,
                                  java.io.IOException
Throws:
CannotReadException
java.io.IOException

getDataInputStream

public java.io.DataInputStream getDataInputStream()

isCONT

public boolean isCONT()

isPROP

public boolean isPROP()

getBytes

public byte[] getBytes()

getId

public java.lang.String getId()

getSize

public int getSize()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object