com.dixshtix.riff
Class GenericChunk
java.lang.Object
|
+--com.dixshtix.riff.GenericChunk
- Direct Known Subclasses:
- ContainerChunk
- public class GenericChunk
- extends java.lang.Object
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
fcc
private FourByteConstant fcc
length
private int length
contents
private byte[] contents
GenericChunk
public GenericChunk()
GenericChunk
public GenericChunk(FourByteConstant fcc,
int length,
byte[] contents)
getContents
public byte[] getContents()
getContents
public byte getContents(int index)
getLength
public int getLength()
getType
public FourByteConstant getType()
isContainer
public boolean isContainer()
setContents
public void setContents(byte[] contents)
setContents
public void setContents(int index,
byte content)
setLength
public void setLength(int length)
setType
public void setType(FourByteConstant fcc)
writeRIFF
public void writeRIFF(OutStream out)