com.softsynth.jsyn
Class ParseRIFF

java.lang.Object
  extended by com.softsynth.jsyn.ParseIFF
      extended by com.softsynth.jsyn.ParseRIFF

public class ParseRIFF
extends ParseIFF

Parse PC style RIFF File RIFF is a modification of the IFF standard for Little Endian Intel based machines.

Author:
(C) 1997 Phil Burk, SoftSynth.com, All Rights Reserved
See Also:
ParseIFF, SynthSampleWAV

Field Summary
static int RIFF_ID
           
 
Fields inherited from class com.softsynth.jsyn.ParseIFF
FORM_ID, LIST_ID
 
Constructor Summary
ParseRIFF(java.io.InputStream stream)
           
 
Method Summary
 boolean isForm(int ckid)
          Does the following chunk ID correspond to a container type like FORM?
 int readChunkSize()
          Read 32 bit signed short assuming Little Endian byte order.
 
Methods inherited from class com.softsynth.jsyn.ParseIFF
getFileSize, getOffset, IDToString, parse, read, read, readByte, readIntBig, readIntLittle, readShortBig, readShortLittle, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RIFF_ID

public static final int RIFF_ID
See Also:
Constant Field Values
Constructor Detail

ParseRIFF

public ParseRIFF(java.io.InputStream stream)
Method Detail

readChunkSize

public int readChunkSize()
                  throws java.io.IOException
Read 32 bit signed short assuming Little Endian byte order.

Overrides:
readChunkSize in class ParseIFF
Throws:
java.io.IOException

isForm

public boolean isForm(int ckid)
               throws java.io.IOException
Description copied from class: ParseIFF
Does the following chunk ID correspond to a container type like FORM?

Overrides:
isForm in class ParseIFF
Throws:
java.io.IOException