|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.niffty.RiffStaff
A RiffStaff provides static methods for encoding/decoding a Staff using RIFF.
Method Summary | |
static Staff |
maybeNew(RIFF parentInput)
Peek into the parentInput's input stream and if the next item is a NIFF staff, return a new Staff. |
static Staff |
newInstance(RIFF parentInput)
Creates new Staff from the parentInput's input stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Staff newInstance(RIFF parentInput) throws java.io.IOException, RIFFFormatException
parentInput
- the parent RIFF object being used to read the input stream
java.io.IOException
RIFFFormatException
public static Staff maybeNew(RIFF parentInput) throws java.io.IOException, RIFFFormatException
parentInput
- the parent RIFF object being used to read the input stream
java.io.IOException
RIFFFormatException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |