|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.niffty.RiffMeasureStartTimeSlice
A RiffMeasureStartTimeSlice provides static methods for encoding/decoding a MeasureStartTimeSlice using RIFF.
Method Summary | |
static void |
addTimeSlices(RIFF parentInput,
MeasureStartTimeSlice measureStart)
This reads event TimeSlice chunks from parentInput's input stream until the next measure start time slice or no more bytesRemaining in the parentInput, adding the TimeSlice objects to the measureStart's time slice list. |
static MeasureStartTimeSlice |
maybeNew(RIFF parentInput)
Peek into the parentInput's input stream and if the next item is a NIFF time slice with type MEASURE_START, return a new MeasureStartTimeSlice. |
static MeasureStartTimeSlice |
newInstance(RIFF parentInput)
Creates new MeasureStartTimeSlice 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 MeasureStartTimeSlice newInstance(RIFF parentInput) throws java.io.IOException, RIFFFormatException
parentInput
- the parent RIFF object being used to read the input stream
java.io.IOException
RIFFFormatException
addTimeSlices(org.niffty.RIFF, org.niffty.MeasureStartTimeSlice)
public static MeasureStartTimeSlice maybeNew(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 void addTimeSlices(RIFF parentInput, MeasureStartTimeSlice measureStart) throws java.io.IOException, RIFFFormatException
parentInput
- the parent RIFF object being used to read the input streammeasureStart
- the MeasureStartTimeSlice to which TimeSlice
objects are added.
java.io.IOException
RIFFFormatException
TimeSlice
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |