Package drivers.ser
Class PortnameShortener
java.lang.Object
drivers.ser.PortnameShortener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final String
makeOSName
(String longName) Make a name for a serial port that the OS will recognize, from the long name returned by the driver for display purposes.
-
Constructor Details
-
PortnameShortener
public PortnameShortener()
-
-
Method Details
-
makeOSName
Make a name for a serial port that the OS will recognize, from the long name returned by the driver for display purposes.- Parameters:
longName
- the long name dame by the driers: "x: OSNAME ( -> long name)"- Returns:
-