Module java.desktop

Class Line.Info

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

public static class Line.Info extends Object
A Line.Info object contains information about a line. The only information provided by Line.Info itself is the Java class of the line. A subclass of Line.Info adds other kinds of information about the line. This additional information depends on which Line subinterface is implemented by the kind of line that the Line.Info subclass describes.

A Line.Info can be retrieved using various methods of the Line, Mixer, and AudioSystem interfaces. Other such methods let you pass a Line.Info as an argument, to learn whether lines matching the specified configuration are available and to obtain them.

Since:
1.3
See Also: