aicas logoJamaica 3.2 release 62

javax.sound.sampled
Class Line.Info

java.lang.Object
  extended by javax.sound.sampled.Line.Info
Direct Known Subclasses:
DataLine.Info, Port.Info
Enclosing interface:
Line

public static class Line.Info
extends Object

An object of this type holds information about a Line.

Since:
1.3

Constructor Summary
Line.Info(Class klass)
          Create a new Info object.
 
Method Summary
 Class getLineClass()
          Return the line's class.
 boolean matches(Line.Info other)
          Return true if this Info object matches the given object.
 String toString()
          Return a description of this Info object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Line.Info

public Line.Info(Class klass)
Create a new Info object. The argument is the class of the line, for instance TargetDataLine.class.

Parameters:
klass - the class of the line
Method Detail

getLineClass

public Class getLineClass()
Return the line's class.


matches

public boolean matches(Line.Info other)
Return true if this Info object matches the given object.

Parameters:
other - the object to match
Returns:
true if they match, false otherwise

toString

public String toString()
Return a description of this Info object.

Overrides:
toString in class Object
Returns:
a string identifying this object.

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.