public final class SerialComPortsList extends Object
Finds all serial ports known to system and return them in sorted alphanumeric order.
| Constructor and Description |
|---|
SerialComPortsList(SerialComPortJNIBridge mComPortJNIBridge,
int osType)
Allocates a new SerialComPortsList object.
|
public SerialComPortsList(SerialComPortJNIBridge mComPortJNIBridge, int osType)
public String[] listAvailableComPorts()
This methods find all ports known to system at this instant.
For Linux, Windows and Mac OS, ports are found with the help of OS specific facilities/API.
For Solaris, a predefined port naming pattern is matched.
Copyright © 2016. All rights reserved.