Methods Summary |
---|
public abstract javax.sound.midi.MidiFileFormat | getMidiFileFormat(java.io.InputStream stream)Obtains the MIDI file format of the input stream provided. The stream must
point to valid MIDI file data. In general, MIDI file readers may
need to read some data from the stream before determining whether they
support it. These parsers must
be able to mark the stream, read enough data to determine whether they
support the stream, and, if not, reset the stream's read pointer to its original
position. If the input stream does not support this, this method may fail
with an IOException .
|
public abstract javax.sound.midi.MidiFileFormat | getMidiFileFormat(java.net.URL url)Obtains the MIDI file format of the URL provided. The URL must
point to valid MIDI file data.
|
public abstract javax.sound.midi.MidiFileFormat | getMidiFileFormat(java.io.File file)Obtains the MIDI file format of the File provided.
The File must point to valid MIDI file data.
|
public abstract javax.sound.midi.Sequence | getSequence(java.io.InputStream stream)Obtains a MIDI sequence from the input stream provided. The stream must
point to valid MIDI file data. In general, MIDI file readers may
need to read some data from the stream before determining whether they
support it. These parsers must
be able to mark the stream, read enough data to determine whether they
support the stream, and, if not, reset the stream's read pointer to its original
position. If the input stream does not support this, this method may fail
with an IOException.
|
public abstract javax.sound.midi.Sequence | getSequence(java.net.URL url)Obtains a MIDI sequence from the URL provided. The URL must
point to valid MIDI file data.
|
public abstract javax.sound.midi.Sequence | getSequence(java.io.File file)Obtains a MIDI sequence from the File provided. The File must
point to valid MIDI file data.
|