javax.sound.midi.spi
public abstract class MidiDeviceProvider extends Object
Since: 1.3
Method Summary | |
---|---|
abstract MidiDevice | getDevice(MidiDevice.Info info)
Get the MidiDevice for the MIDI device described by info
|
abstract MidiDevice.Info[] | getDeviceInfo()
Get the list descriptors for all MIDI devices supported by
this provider.
|
boolean | isDeviceSupported(MidiDevice.Info info)
Returns true if this provider supports a specific MIDI device.
|
Parameters: info the descriptor for the MIDI device we want
Returns: the MidiDevice we're looking for
Throws: IllegalArgumentException is this provider doesn't support info
Returns: an array of descriptors for all supported MIDI devices.
Parameters: info the MIDI device descriptor
Returns: true if this provider supports info