Ontimize 5.2072EN

com.ontimize.comm
Class CommUtilities

java.lang.Object
  extended bycom.ontimize.comm.CommUtilities

public class CommUtilities
extends java.lang.Object


Field Summary
static int PORT_PARALLEL
           
static int PORT_SERIAL
           
 
Constructor Summary
CommUtilities()
           
 
Method Summary
static java.util.Vector getPortList(int type)
          Gets a list with the port identifiers of the specified type (SERIAL or PARALLEL)
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORT_PARALLEL

public static int PORT_PARALLEL

PORT_SERIAL

public static int PORT_SERIAL
Constructor Detail

CommUtilities

public CommUtilities()
Method Detail

getPortList

public static java.util.Vector getPortList(int type)
                                    throws java.lang.Exception
Gets a list with the port identifiers of the specified type (SERIAL or PARALLEL)

Parameters:
type - CommPortIdentifier.PORT_PARALLEL or CommPortIdentifier.PORT_SERIAL
Returns:
Vector with CommPortIdentifier objects
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

Ontimize