javax.sound.sampled

Class Line.Info

public static class Line.Info extends Object

An object of this type holds information about a Line.

Since: 1.3

Constructor Summary
Info(Class<?> klass)
Create a new Info object.
Method Summary
Class<?>getLineClass()
Return the line's class.
booleanmatches(Line.Info other)
Return true if this Info object matches the given object.
StringtoString()
Return a description of this Info object.

Constructor Detail

Info

public 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.