public abstract class MidiDeviceProvider extends java.lang.Object
| Constructor and Description |
|---|
MidiDeviceProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract javax.sound.midi.MidiDevice |
getDevice(javax.sound.midi.MidiDevice.Info info)
Get the MidiDevice for the MIDI device described by info
|
abstract javax.sound.midi.MidiDevice.Info[] |
getDeviceInfo()
Get the list descriptors for all MIDI devices supported by
this provider.
|
boolean |
isDeviceSupported(javax.sound.midi.MidiDevice.Info info)
Returns true if this provider supports a specific MIDI device.
|
public MidiDeviceProvider()
public boolean isDeviceSupported(javax.sound.midi.MidiDevice.Info info)
info - the MIDI device descriptorpublic abstract javax.sound.midi.MidiDevice.Info[] getDeviceInfo()
public abstract javax.sound.midi.MidiDevice getDevice(javax.sound.midi.MidiDevice.Info info) throws java.lang.IllegalArgumentException
info - the descriptor for the MIDI device we wantjava.lang.IllegalArgumentException - is this provider doesn't support info