javax.sound.sampled
public static class Port.Info extends Line.Info
Since: 1.3
Field Summary | |
---|---|
static Port.Info | COMPACT_DISC A CD player. |
static Port.Info | HEADPHONE Headphones. |
static Port.Info | LINE_IN Generic input line. |
static Port.Info | LINE_OUT Generic output line. |
static Port.Info | MICROPHONE A microphone. |
static Port.Info | SPEAKER A speaker. |
Constructor Summary | |
---|---|
Info(Class<?> klass, String name, boolean isSource)
Create a new Info object, given the line's class, the name,
and an argument indicating whether this is an input or an output. |
Method Summary | |
---|---|
boolean | equals(Object o) |
String | getName()
Return the name of this object. |
int | hashCode() |
boolean | isSource()
Return true if this describes an input line. |
boolean | matches(Line.Info other) |
String | toString() |
Parameters: klass the class of the line name the name of the line isSource true if this is an input source