Package | Description |
---|---|
javax.sound.midi |
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI
(Musical Instrument Digital Interface) data.
|
javax.sound.midi.spi |
Supplies interfaces for service providers to implement when
offering new MIDI devices, MIDI file readers and writers, or sound bank readers.
|
Modifier and Type | Method and Description |
---|---|
static MidiFileFormat |
MidiSystem.getMidiFileFormat(File file)
Obtains the MIDI file format of the specified
File . |
static MidiFileFormat |
MidiSystem.getMidiFileFormat(InputStream stream)
Obtains the MIDI file format of the data in the specified input stream.
|
static MidiFileFormat |
MidiSystem.getMidiFileFormat(URL url)
Obtains the MIDI file format of the data in the specified URL.
|
Modifier and Type | Method and Description |
---|---|
abstract MidiFileFormat |
MidiFileReader.getMidiFileFormat(File file)
Obtains the MIDI file format of the
File provided. |
abstract MidiFileFormat |
MidiFileReader.getMidiFileFormat(InputStream stream)
Obtains the MIDI file format of the input stream provided.
|
abstract MidiFileFormat |
MidiFileReader.getMidiFileFormat(URL url)
Obtains the MIDI file format of the URL provided.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.