com.dixshtix.niff
Interface NiffParserListener
- All Known Implementing Classes:
- Parser, ToMidi, ToXML
- public interface NiffParserListener
Implements a simple SAX-like interface to the NIFF file parser.
Method Summary |
void |
beginContainerChunk(FourByteConstant containerType,
FourByteConstant chunkType,
NiffParserContext context)
|
void |
beginMiscChunk(java.lang.String chunkType,
NiffParserContext context)
|
void |
beginNiffChunk(FourByteConstant chunkType,
int expectedLength,
NiffParserContext context)
|
void |
beginNiffTag(byte tagID,
NiffParserContext context)
|
void |
beginRiffChunk(FourByteConstant chunkType,
NiffParserContext context)
|
void |
byteAttribute(java.lang.String attribute,
int value,
NiffParserContext context)
|
void |
dataBytes(byte[] data,
int offset,
int length,
NiffParserContext context)
|
void |
endContainerChunk(FourByteConstant containerType,
FourByteConstant chunkType,
NiffParserContext context)
|
void |
endMiscChunk(java.lang.String chunkType,
NiffParserContext context)
|
void |
endNiffChunk(FourByteConstant chunkType,
NiffParserContext context)
|
void |
endNiffTag(byte tagID,
NiffParserContext context)
|
void |
endRiffChunk(FourByteConstant chunkType,
NiffParserContext context)
|
void |
fillMiscChunk(java.lang.String chunkType,
NiffParserContext context)
|
void |
fillNiffChunk(FourByteConstant chunkType,
NiffParserContext context)
|
void |
fillNiffTag(byte tagID,
NiffParserContext context)
|
void |
fillRiffChunk(FourByteConstant chunkType,
NiffParserContext context)
|
void |
fontidxAttribute(java.lang.String attribute,
int value,
NiffParserContext context)
|
void |
fourccAttribute(java.lang.String attribute,
FourByteConstant value,
NiffParserContext context)
|
void |
longAttribute(java.lang.String attribute,
int value,
NiffParserContext context)
|
void |
rationalAttribute(java.lang.String attribute,
int top,
int bottom,
NiffParserContext context)
|
void |
shortAttribute(java.lang.String attribute,
int value,
NiffParserContext context)
|
void |
signedbyteAttribute(java.lang.String attribute,
byte value,
NiffParserContext context)
|
void |
stringAttribute(java.lang.String attribute,
java.lang.String value,
NiffParserContext context)
|
void |
stroffsetAttribute(java.lang.String attribute,
int value,
NiffParserContext context)
|
beginContainerChunk
public void beginContainerChunk(FourByteConstant containerType,
FourByteConstant chunkType,
NiffParserContext context)
beginMiscChunk
public void beginMiscChunk(java.lang.String chunkType,
NiffParserContext context)
beginNiffChunk
public void beginNiffChunk(FourByteConstant chunkType,
int expectedLength,
NiffParserContext context)
beginNiffTag
public void beginNiffTag(byte tagID,
NiffParserContext context)
beginRiffChunk
public void beginRiffChunk(FourByteConstant chunkType,
NiffParserContext context)
byteAttribute
public void byteAttribute(java.lang.String attribute,
int value,
NiffParserContext context)
dataBytes
public void dataBytes(byte[] data,
int offset,
int length,
NiffParserContext context)
endContainerChunk
public void endContainerChunk(FourByteConstant containerType,
FourByteConstant chunkType,
NiffParserContext context)
endMiscChunk
public void endMiscChunk(java.lang.String chunkType,
NiffParserContext context)
endNiffChunk
public void endNiffChunk(FourByteConstant chunkType,
NiffParserContext context)
endNiffTag
public void endNiffTag(byte tagID,
NiffParserContext context)
endRiffChunk
public void endRiffChunk(FourByteConstant chunkType,
NiffParserContext context)
fillMiscChunk
public void fillMiscChunk(java.lang.String chunkType,
NiffParserContext context)
fillNiffChunk
public void fillNiffChunk(FourByteConstant chunkType,
NiffParserContext context)
fillNiffTag
public void fillNiffTag(byte tagID,
NiffParserContext context)
fillRiffChunk
public void fillRiffChunk(FourByteConstant chunkType,
NiffParserContext context)
fontidxAttribute
public void fontidxAttribute(java.lang.String attribute,
int value,
NiffParserContext context)
fourccAttribute
public void fourccAttribute(java.lang.String attribute,
FourByteConstant value,
NiffParserContext context)
longAttribute
public void longAttribute(java.lang.String attribute,
int value,
NiffParserContext context)
rationalAttribute
public void rationalAttribute(java.lang.String attribute,
int top,
int bottom,
NiffParserContext context)
shortAttribute
public void shortAttribute(java.lang.String attribute,
int value,
NiffParserContext context)
signedbyteAttribute
public void signedbyteAttribute(java.lang.String attribute,
byte value,
NiffParserContext context)
stringAttribute
public void stringAttribute(java.lang.String attribute,
java.lang.String value,
NiffParserContext context)
stroffsetAttribute
public void stroffsetAttribute(java.lang.String attribute,
int value,
NiffParserContext context)