APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.media.sound

pack-priv final Class SMFParser

Located in compilation unit of com.sun.media.sound.StandardMidiFileReader.

extends Object
Class Inheritance

State variables during parsing of a MIDI file.

Field Summary

Modifier and TypeField and Description
private static final boolean
private static final int
private int
pack-priv DataInputStream
private static final boolean
private byte[]
private int
pack-priv int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
private void
read(byte[] data)

private int
pack-priv void
private int
private long
private boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEBUGback to summary
private static final boolean DEBUG
MTrk_MAGICback to summary
private static final int MTrk_MAGIC
posback to summary
private int pos
streamback to summary
pack-priv DataInputStream stream
STRICT_PARSERback to summary
private static final boolean STRICT_PARSER
trackDataback to summary
private byte[] trackData
trackLengthback to summary
private int trackLength
tracksback to summary
pack-priv int tracks

Constructor Detail

SMFParserback to summary
pack-priv SMFParser()

Method Detail

nextTrackback to summary
pack-priv boolean nextTrack() throws IOException, InvalidMidiDataException
readback to summary
private void read(byte[] data) throws IOException
readIntFromStreamback to summary
private int readIntFromStream() throws IOException
readTrackback to summary
pack-priv void readTrack(Track track) throws IOException, InvalidMidiDataException
readUnsignedback to summary
private int readUnsigned() throws IOException
readVarIntback to summary
private long readVarInt() throws IOException
trackFinishedback to summary
private boolean trackFinished()