public class StandardMidiFileReader extends MidiFileReader
Constructor and Description |
---|
StandardMidiFileReader() |
Modifier and Type | Method and Description |
---|---|
MidiFileFormat |
getMidiFileFormat(File file)
Get the
MidiFileFormat from the specified file |
MidiFileFormat |
getMidiFileFormat(InputStream inputStream)
Get the
MidiFileFormat from the specified stream |
MidiFileFormat |
getMidiFileFormat(URL url)
Get the
MidiFileFormat from the specified URL |
Sequence |
getSequence(File file)
Get the
Sequence from the specified file |
Sequence |
getSequence(InputStream inputStream)
Get the
Sequence from the specified stream |
Sequence |
getSequence(URL url)
Get the
Sequence from the specified URL |
@NonNull public MidiFileFormat getMidiFileFormat(@NonNull InputStream inputStream) throws InvalidMidiDataException, IOException
MidiFileReader
MidiFileFormat
from the specified streamgetMidiFileFormat
in class MidiFileReader
inputStream
- the InputStreamInvalidMidiDataException
IOException
@NonNull public MidiFileFormat getMidiFileFormat(@NonNull URL url) throws InvalidMidiDataException, IOException
MidiFileReader
MidiFileFormat
from the specified URLgetMidiFileFormat
in class MidiFileReader
url
- the URLInvalidMidiDataException
IOException
@NonNull public MidiFileFormat getMidiFileFormat(@NonNull File file) throws InvalidMidiDataException, IOException
MidiFileReader
MidiFileFormat
from the specified filegetMidiFileFormat
in class MidiFileReader
file
- the fileInvalidMidiDataException
IOException
@NonNull public Sequence getSequence(@NonNull InputStream inputStream) throws InvalidMidiDataException, IOException
MidiFileReader
Sequence
from the specified streamgetSequence
in class MidiFileReader
inputStream
- the InputStreamInvalidMidiDataException
IOException
@NonNull public Sequence getSequence(@NonNull URL url) throws InvalidMidiDataException, IOException
MidiFileReader
Sequence
from the specified URLgetSequence
in class MidiFileReader
url
- the URLInvalidMidiDataException
IOException
@NonNull public Sequence getSequence(@NonNull File file) throws InvalidMidiDataException, IOException
MidiFileReader
Sequence
from the specified filegetSequence
in class MidiFileReader
file
- the fileInvalidMidiDataException
IOException