javax.sound.sampled
Class Port.Info

java.lang.Object
  extended by javax.sound.sampled.Line.Info
      extended by javax.sound.sampled.Port.Info
Enclosing interface:
Port

public static class Port.Info
extends Line.Info


Field Summary
static Port.Info COMPACT_DISC
           
static Port.Info HEADPHONE
           
static Port.Info LINE_IN
           
static Port.Info LINE_OUT
           
static Port.Info MICROPHONE
           
static Port.Info SPEAKER
           
 
Constructor Summary
Port.Info(java.lang.Class lineClass, java.lang.String strName, boolean bIsSource)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
           
static java.lang.Class getPortClass()
           
 int hashCode()
           
 boolean isSource()
           
 boolean matches(Line.Info info)
           
 java.lang.String toString()
           
 
Methods inherited from class javax.sound.sampled.Line.Info
getLineClass
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MICROPHONE

public static final Port.Info MICROPHONE

LINE_IN

public static final Port.Info LINE_IN

COMPACT_DISC

public static final Port.Info COMPACT_DISC

SPEAKER

public static final Port.Info SPEAKER

HEADPHONE

public static final Port.Info HEADPHONE

LINE_OUT

public static final Port.Info LINE_OUT
Constructor Detail

Port.Info

public Port.Info(java.lang.Class lineClass,
                 java.lang.String strName,
                 boolean bIsSource)
Method Detail

getPortClass

public static java.lang.Class getPortClass()

getName

public java.lang.String getName()

isSource

public boolean isSource()

matches

public boolean matches(Line.Info info)
Overrides:
matches in class Line.Info

equals

public final boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public final int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public final java.lang.String toString()
Overrides:
toString in class Line.Info