public abstract class MidiDeviceProvider extends Object
Constructor and Description |
---|
MidiDeviceProvider() |
Modifier and Type | Method and Description |
---|---|
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.
|
public MidiDeviceProvider()
public boolean isDeviceSupported(MidiDevice.Info info)
info
- the MIDI device descriptorpublic abstract MidiDevice.Info[] getDeviceInfo()
public abstract MidiDevice getDevice(MidiDevice.Info info) throws IllegalArgumentException
info
- the descriptor for the MIDI device we wantIllegalArgumentException
- is this provider doesn't support info