|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.comm.CommPort
public abstract class CommPort
Base class for all communications ports
Field Summary | |
---|---|
protected String |
name
The name of this CommPort. |
Constructor Summary | |
---|---|
protected |
CommPort()
Constructs a CommPort. |
Method Summary | |
---|---|
void |
close()
Closes this port. |
abstract InputStream |
getInputStream()
Gets the InputStream for this port. |
String |
getName()
Gets the name of this port. |
abstract OutputStream |
getOutputStream()
Gets the OutputStream for this port. |
String |
toString()
Returns the String name of this port. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait |
Field Detail |
---|
protected String name
Constructor Detail |
---|
protected CommPort()
Method Detail |
---|
public void close()
public abstract InputStream getInputStream() throws IOException
IOException
public String getName()
public abstract OutputStream getOutputStream() throws IOException
IOException
public String toString()
toString
in class Object
|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |