serialPort
Class CommPortUtils
java.lang.Object
serialPort.CommPortUtils
public final class CommPortUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(java.lang.String[] args)
throws PortInUseException
- Throws:
PortInUseException
getCommPortUtils
public static CommPortUtils getCommPortUtils()
getCommPortIdentifierBean
public static CommPortIdentifierBean getCommPortIdentifierBean()
getCommPortIdentifierByName
public static CommPortIdentifierInterface getCommPortIdentifierByName(java.lang.String name)
getCommPortIdentifiers
public static CommPortIdentifierInterface[] getCommPortIdentifiers()
getCommPortNames
public java.lang.String[] getCommPortNames()
getACommPortFromUser
public CommPortIdentifierInterface getACommPortFromUser()
print
public void print(CommPortIdentifierInterface cpid)
print
public void print(CommPortIdentifierInterface[] cpids)
print
public void print()
getPortTypeName
public static java.lang.String getPortTypeName(int portType)
testRxtxPath
public static void testRxtxPath()