- All Superinterfaces:
- AutoCloseable,- Line
Ports are simple lines for input or output of audio to or from audio devices.
 Common examples of ports that act as source lines (mixer inputs) include the
 microphone, line input, and CD-ROM drive. Ports that act as target lines
 (mixer outputs) include the speaker, headphone, and line output. You can
 access port using a 
Port.Info object.- Since:
- 1.3
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classThePort.Infoclass extendsLine.Infowith additional information specific to ports, including the port's name and whether it is a source or a target for its mixer.
- 
Method SummaryMethods declared in interface javax.sound.sampled.LineaddLineListener, close, getControl, getControls, getLineInfo, isControlSupported, isOpen, open, removeLineListener