| |
|
| java.lang.Object javax.sound.midi.spi.MidiDeviceProvider
MidiDeviceProvider | abstract public class MidiDeviceProvider (Code) | | A MidiDeviceProvider is a factory or provider for a particular
type of MIDI device.
This mechanism allows the implementation to determine
how resources are managed in the creation and management of
a device.
version: 1.26 07/05/05 author: Kara Kytle |
getDevice | abstract public MidiDevice getDevice(MidiDevice.Info info)(Code) | | Obtains an instance of the device represented by the info object.
Parameters: info - an info object that describes the desired device device instance throws: IllegalArgumentException - if the info object specified does notmatch the info object for a device supported by this MidiDeviceProvider . |
getDeviceInfo | abstract public MidiDevice.Info[] getDeviceInfo()(Code) | | Obtains the set of info objects representing the device
or devices provided by this MidiDeviceProvider .
set of device info objects |
isDeviceSupported | public boolean isDeviceSupported(MidiDevice.Info info)(Code) | | Indicates whether the device provider supports the device represented by
the specified device info object.
Parameters: info - an info object that describes the device for which support is queried true if the specified device is supported, otherwise false |
|
|
|