This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.sound.midi.spi
class MidiDeviceProvider

java.lang.Object extended by javax.sound.midi.spi.MidiDeviceProvider

Most common way to construct:

List providers = …;
int i = …;

MidiDeviceProvider provider = (MidiDeviceProvider)providers.get(i);

Based on 10 examples


public abstract class MidiDeviceProvider
extends Object

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.


Constructor Summary

          
 
Method Summary
abstract MidiDevice

          Obtains an instance of the device represented by the info object.
abstract MidiDevice.Info[]

          Obtains the set of info objects representing the device or devices provided by this MidiDeviceProvider.
 boolean

          Indicates whether the device provider supports the device represented by the specified device info object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MidiDeviceProvider

public MidiDeviceProvider()
Method Detail

getDevice

public abstract MidiDevice getDevice(MidiDevice.Info info)
Obtains an instance of the device represented by the info object.

Parameters:
info - an info object that describes the desired device
Returns:
device instance

getDeviceInfo

public abstract MidiDevice.Info[] getDeviceInfo()
Obtains the set of info objects representing the device or devices provided by this MidiDeviceProvider.

Returns:
set of device info objects

isDeviceSupported

public boolean isDeviceSupported(MidiDevice.Info info)
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
Returns:
true if the specified device is supported, otherwise false


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.