public class CommUtilities extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
PORT_PARALLEL |
static int |
PORT_SERIAL |
| Constructor and Description |
|---|
CommUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static Vector |
getPortList(int type)
Gets a list with the port identifiers of the specified type (SERIAL or
PARALLEL)
|
static void |
main(String[] args) |
public static int PORT_PARALLEL
public static int PORT_SERIAL
public static Vector getPortList(int type) throws Exception
type - CommPortIdentifier.PORT_PARALLEL or
CommPortIdentifier.PORT_SERIALCommPortIdentifier objectsExceptionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.