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
class MidiDevice.Info

java.lang.Object extended by javax.sound.midi.MidiDevice.Info
Enclosing class:
MidiDevice

public static class MidiDevice.Info
extends Object

A MidiDevice.Info object contains assorted data about a {@link MidiDevice}, including its name, the company who created it, and descriptive text.


Constructor Summary
protected
MidiDevice.Info(String name, String vendor, String description, String version)

          Constructs a device info object.
 
Method Summary
 boolean

          Reports whether two objects are equal.
 String

          Obtains the description of the device.
 String

          Obtains the name of the device.
 String

          Obtains the name of the company who supplies the device.
 String

          Obtains the version of the device.
 int

          Finalizes the hashcode method.
 String

          Provides a string representation of the device information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MidiDevice.Info

protected MidiDevice.Info(String name,
                          String vendor,
                          String description,
                          String version)
Constructs a device info object.

Parameters:
name - the name of the device
vendor - the name of the company who provides the device
description - a description of the device
version - version information for the device
Method Detail

equals

public final boolean equals(Object obj)
Reports whether two objects are equal. Returns true if the objects are identical.

Overrides:
equals in class Object
Parameters:
obj - the reference object with which to compare this object
Returns:
true if this object is the same as the obj argument; false otherwise

getDescription

public final String getDescription()
Obtains the description of the device.

Returns:
a description of the device

getName

public final String getName()
Obtains the name of the device.

Returns:
a string containing the device's name

getVendor

public final String getVendor()
Obtains the name of the company who supplies the device.

Returns:
device the vendor's name

getVersion

public final String getVersion()
Obtains the version of the device.

Returns:
textual version information for the device.

hashCode

public final int hashCode()
Finalizes the hashcode method.

Overrides:
hashCode in class Object

toString

public final String toString()
Provides a string representation of the device information.

Overrides:
toString in class Object
Returns:
a description of the info object


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/.