|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.comm.CommURI
public class CommURI
Represents a Uniform Resource Identifier (URI) for a Comm/Serial Port.
Nested Class Summary | |
---|---|
static class |
CommURI.Builder
Builder class used as a helper in building the components of a CommURI |
Field Summary | |
---|---|
static int |
DATABITS_5
|
static int |
DATABITS_6
|
static int |
DATABITS_7
|
static int |
DATABITS_8
|
static int |
FLOWCONTROL_NONE
|
static int |
FLOWCONTROL_RTSCTS_IN
|
static int |
FLOWCONTROL_RTSCTS_OUT
|
static int |
FLOWCONTROL_XONXOFF_IN
|
static int |
FLOWCONTROL_XONXOFF_OUT
|
static int |
PARITY_EVEN
|
static int |
PARITY_MARK
|
static int |
PARITY_NONE
|
static int |
PARITY_ODD
|
static int |
PARITY_SPACE
|
static int |
STOPBITS_1
|
static int |
STOPBITS_1_5
|
static int |
STOPBITS_2
|
Method Summary | |
---|---|
int |
getBaudRate()
The baud rate associated with the port |
int |
getDataBits()
The number of data bits associated with the port |
int |
getParity()
The parity associated with the port |
String |
getPort()
The COM port or device node associated with this port |
int |
getStopBits()
The number of stop bits associated with the port |
int |
getTimeout()
The timeout associated with the port |
static CommURI |
parseString(String uri)
Converts a String of the CommURI form to a CommURI Object |
String |
toString()
The String representing the CommURI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DATABITS_5
public static final int DATABITS_6
public static final int DATABITS_7
public static final int DATABITS_8
public static final int PARITY_EVEN
public static final int PARITY_MARK
public static final int PARITY_NONE
public static final int PARITY_ODD
public static final int PARITY_SPACE
public static final int STOPBITS_1
public static final int STOPBITS_1_5
public static final int STOPBITS_2
public static final int FLOWCONTROL_NONE
public static final int FLOWCONTROL_RTSCTS_IN
public static final int FLOWCONTROL_RTSCTS_OUT
public static final int FLOWCONTROL_XONXOFF_IN
public static final int FLOWCONTROL_XONXOFF_OUT
Method Detail |
---|
public String getPort()
String
representing the portpublic int getBaudRate()
public int getDataBits()
public int getStopBits()
public int getParity()
public int getTimeout()
public String toString()
String
representing the CommURI
toString
in class Object
public static CommURI parseString(String uri) throws URISyntaxException
uri
- the String
representing the CommURI
URISyntaxException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |