DixShtix

com.dixshtix.riff
Class ContainerChunk

java.lang.Object
  |
  +--com.dixshtix.riff.GenericChunk
        |
        +--com.dixshtix.riff.ContainerChunk
Direct Known Subclasses:
FormChunk, ListChunk

public class ContainerChunk
extends GenericChunk


Field Summary
private  FourByteConstant containerType
           
 
Fields inherited from class com.dixshtix.riff.GenericChunk
contents, fcc, length
 
Constructor Summary
ContainerChunk()
           
ContainerChunk(FourByteConstant fcc, int length, FourByteConstant type, byte[] contents)
           
 
Method Summary
 FourByteConstant getContainerType()
           
 boolean isContainer()
           
 void setContainerType(FourByteConstant fcc)
           
 void writeRIFF(OutStream out)
           
 
Methods inherited from class com.dixshtix.riff.GenericChunk
getContents, getContents, getLength, getType, setContents, setContents, setLength, setType
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

containerType

private FourByteConstant containerType
Constructor Detail

ContainerChunk

public ContainerChunk()

ContainerChunk

public ContainerChunk(FourByteConstant fcc,
                      int length,
                      FourByteConstant type,
                      byte[] contents)
Method Detail

getContainerType

public FourByteConstant getContainerType()

isContainer

public boolean isContainer()
Overrides:
isContainer in class GenericChunk

setContainerType

public void setContainerType(FourByteConstant fcc)

writeRIFF

public void writeRIFF(OutStream out)
Overrides:
writeRIFF in class GenericChunk

DixShtix