Save This Page
Home » openjdk-7 » javax.sound » midi » [javadoc | source]
javax.sound.midi
public static class: MidiDevice.Info [javadoc | source]
java.lang.Object
   javax.sound.midi.MidiDevice$Info
A MidiDevice.Info object contains assorted data about a MidiDevice , including its name, the company who created it, and descriptive text.
Constructor:
 protected 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 from javax.sound.midi.MidiDevice$Info Summary:
equals,   getDescription,   getName,   getVendor,   getVersion,   hashCode,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.sound.midi.MidiDevice$Info Detail:
 public final boolean equals(Object obj) 
    Reports whether two objects are equal. Returns true if the objects are identical.
 public final String getDescription() 
    Obtains the description of the device.
 public final String getName() 
    Obtains the name of the device.
 public final String getVendor() 
    Obtains the name of the company who supplies the device.
 public final String getVersion() 
    Obtains the version of the device.
 public final int hashCode() 
    Finalizes the hashcode method.
 public final String toString() 
    Provides a string representation of the device information.