|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ChunkHandler
Handle IFF Chunks as they are parsed from an IFF or RIFF file.
ParseIFF,
SynthSampleAIFF| Method Summary | |
|---|---|
void |
handleChunk(ParseIFF parser,
int ID,
int numBytes)
The parser will call this when it encounters a chunk that is not a FORM or LIST. |
void |
handleForm(ParseIFF parser,
int ID,
int numBytes,
int type)
The parser will call this when it encounters a FORM or LIST chunk that contains other chunks. |
| Method Detail |
|---|
void handleForm(ParseIFF parser,
int ID,
int numBytes,
int type)
throws java.io.IOException
ID - a 4 byte identifier such as FORM_ID that identifies the IFF chunk type.numBytes - number of bytes contained in the FORM, not counting the FORM type.type - a 4 byte identifier such as AIFF_ID that identifies the FORM type.
java.io.IOException
void handleChunk(ParseIFF parser,
int ID,
int numBytes)
throws java.io.IOException
ID - a 4 byte identifier such as SSND_ID that identifies the IFF chunk type.numBytes - number of bytes contained in the chunk, not counting the ID and size field.
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||