|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.sound.midi.spi.MidiDeviceProvider
public abstract class MidiDeviceProvider
The abstract base class for all MidiDeviceProvider types.
Constructor Summary | |
---|---|
MidiDeviceProvider()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MidiDeviceProvider()
Method Detail |
---|
public boolean isDeviceSupported(MidiDevice.Info info)
info
- the MIDI device descriptor
public abstract MidiDevice.Info[] getDeviceInfo()
public abstract MidiDevice getDevice(MidiDevice.Info info) throws IllegalArgumentException
info
- the descriptor for the MIDI device we want
IllegalArgumentException
- is this provider doesn't support info
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |