public class StandardMidiFileReader
extends javax.sound.midi.spi.MidiFileReader
Modifier and Type | Field and Description |
---|---|
static boolean |
CANCEL_RUNNING_STATUS_ON_META_AND_SYSEX
TODO:
|
Constructor and Description |
---|
StandardMidiFileReader() |
Modifier and Type | Method and Description |
---|---|
javax.sound.midi.MidiFileFormat |
getMidiFileFormat(java.io.File file) |
javax.sound.midi.MidiFileFormat |
getMidiFileFormat(java.io.InputStream inputStream) |
javax.sound.midi.MidiFileFormat |
getMidiFileFormat(java.net.URL url) |
javax.sound.midi.Sequence |
getSequence(java.io.File file) |
javax.sound.midi.Sequence |
getSequence(java.io.InputStream inputStream) |
javax.sound.midi.Sequence |
getSequence(java.net.URL url) |
static int |
readUnsignedByte(java.io.DataInputStream dataInputStream,
long[] alRemainingBytes) |
static long |
readVariableLengthQuantity(java.io.DataInputStream dataInputStream,
long[] alRemainingBytes) |
public static boolean CANCEL_RUNNING_STATUS_ON_META_AND_SYSEX
public javax.sound.midi.MidiFileFormat getMidiFileFormat(java.io.InputStream inputStream) throws javax.sound.midi.InvalidMidiDataException, java.io.IOException
getMidiFileFormat
in class javax.sound.midi.spi.MidiFileReader
javax.sound.midi.InvalidMidiDataException
java.io.IOException
public javax.sound.midi.MidiFileFormat getMidiFileFormat(java.net.URL url) throws javax.sound.midi.InvalidMidiDataException, java.io.IOException
getMidiFileFormat
in class javax.sound.midi.spi.MidiFileReader
javax.sound.midi.InvalidMidiDataException
java.io.IOException
public javax.sound.midi.MidiFileFormat getMidiFileFormat(java.io.File file) throws javax.sound.midi.InvalidMidiDataException, java.io.IOException
getMidiFileFormat
in class javax.sound.midi.spi.MidiFileReader
javax.sound.midi.InvalidMidiDataException
java.io.IOException
public javax.sound.midi.Sequence getSequence(java.net.URL url) throws javax.sound.midi.InvalidMidiDataException, java.io.IOException
getSequence
in class javax.sound.midi.spi.MidiFileReader
javax.sound.midi.InvalidMidiDataException
java.io.IOException
public javax.sound.midi.Sequence getSequence(java.io.File file) throws javax.sound.midi.InvalidMidiDataException, java.io.IOException
getSequence
in class javax.sound.midi.spi.MidiFileReader
javax.sound.midi.InvalidMidiDataException
java.io.IOException
public javax.sound.midi.Sequence getSequence(java.io.InputStream inputStream) throws javax.sound.midi.InvalidMidiDataException, java.io.IOException
getSequence
in class javax.sound.midi.spi.MidiFileReader
javax.sound.midi.InvalidMidiDataException
java.io.IOException
public static long readVariableLengthQuantity(java.io.DataInputStream dataInputStream, long[] alRemainingBytes) throws javax.sound.midi.InvalidMidiDataException, java.io.IOException
javax.sound.midi.InvalidMidiDataException
java.io.IOException
public static int readUnsignedByte(java.io.DataInputStream dataInputStream, long[] alRemainingBytes) throws java.io.IOException
java.io.IOException