|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.sound.midi.MidiDevice.Info
A MidiDevice.Info
object contains assorted
data about a
, including its
name, the company who created it, and descriptive text.
MidiDevice
MidiDevice.getDeviceInfo()
Constructor Summary | |
protected |
MidiDevice.Info(String name,
String vendor,
String description,
String version)
Constructs a device info object. |
Method Summary | |
boolean |
equals(Object obj)
Reports whether two objects are equal. |
String |
getDescription()
Obtains the description of the device. |
String |
getName()
Obtains the name of the device. |
String |
getVendor()
Obtains the name of the company who supplies the device. |
String |
getVersion()
Obtains the version of the device. |
int |
hashCode()
Finalizes the hashcode method. |
String |
toString()
Provides a string representation of the device information. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected MidiDevice.Info(String name, String vendor, String description, String version)
name
- the name of the devicedescription
- a description of the deviceversion
- version information for the deviceMethod Detail |
public final boolean equals(Object obj)
true
if the objects are identical.
equals
in class Object
obj
- the reference object with which to compare this
object
true
if this object is the same as the
obj
argument; false
otherwiseObject.hashCode()
,
Hashtable
public final int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
Hashtable
public final String getName()
public final String getVendor()
public final String getDescription()
public final String getVersion()
public final String toString()
toString
in class Object
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.