API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.sampled. Port.Info View Source
Author(s)
Kara Kytle
Since
1.3
Version
1.27, 05/11/17
Serial
Hierarchy
 Object
      Line.Info
          Port.Info
Implements
Subclasses
Description
publicstatic class Port.Info
  The Port.Info class extends Line.Info with additional information specific to ports, including the port's name and whether it is a source or a target for its mixer.
See also:   
Constructors
public Port.Info (Class<Object> lineClass, String name, boolean isSource)
  Constructs a port's info object from the information given.
Methods
Hide/Show inherited methods
publicfinal boolean equals (Object obj)
Finalizes the equals method
public Class<Object> getLineClass () [Inherited From Line.Info]
  Obtains the class of the line that this Line.Info object describes.
public String getName ()
  Obtains the name of the port.
publicfinal int hashCode ()
Finalizes the hashCode method
public boolean isSource ()
  Indicates whether the port is a source or a target for its mixer.
public boolean matches (Info info) [Overrides Line.Info]
  Indicates whether this info object specified matches this one.
publicfinal String toString () [Overrides Line.Info]
  Provides a String representation of the port.
Fields
Hide/Show inherited fields
publicfinalstatic Info COMPACT_DISC
A type of port that gets audio from a CD-ROM drive.
publicfinalstatic Info HEADPHONE
A type of port that sends audio to a headphone jack.
publicfinalstatic Info LINE_IN
A type of port that gets audio from a line-level audio input jack.
publicfinalstatic Info LINE_OUT
A type of port that sends audio to a line-level audio output jack.
publicfinalstatic Info MICROPHONE
A type of port that gets audio from a built-in microphone or a microphone jack.
publicfinalstatic Info SPEAKER
A type of port that sends audio to a built-in speaker or a speaker jack.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar