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.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract MidiDevice | Returns: device instancean info object that describes the desired device infoObtains an instance of the device represented by the info object. |
| public abstract MidiDevice. | Returns: set of device info objectsObtains the set of info objects representing the device or devices
provided by this |
| public boolean | Returns: true if the specified device is supported, otherwise
falsean info object that describes the device for which support
is queried infoIndicates whether the device provider supports the device represented by the specified device info object. |
| MidiDeviceProvider | back to summary |
|---|---|
| protected MidiDeviceProvider() Constructor for subclasses to call. | |
| getDevice | back to summary |
|---|---|
| public abstract MidiDevice getDevice(MidiDevice. Obtains an instance of the device represented by the info object.
| |
| getDeviceInfo | back to summary |
|---|---|
| public abstract MidiDevice. Obtains the set of info objects representing the device or devices
provided by this
| |
| isDeviceSupported | back to summary |
|---|---|
| public boolean isDeviceSupported(final MidiDevice. Indicates whether the device provider supports the device represented by the specified device info object.
| |