|
jamod at SF | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
net.wimpi.modbus.io.ASCIIInputStream
Class implementing a specialized InputStream which decodes characters read from the raw stream into bytes. Note that the characters denoting start and end of a frame as given by the specification are exceptions; They are translated to the "virtual" FRAME_START and FRAME_END.
ModbusASCIITransport.FRAME_START,
ModbusASCIITransport.FRAME_END| Field Summary |
| Fields inherited from class java.io.FilterInputStream |
in |
| Constructor Summary | |
ASCIIInputStream(java.io.InputStream in)
Constructs a new ASCIIInputStream instance reading from the given InputStream. |
|
| Method Summary | |
int |
read()
Reads a byte from the ASCII encoded stream. |
| Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ASCIIInputStream(java.io.InputStream in)
in - a base input stream to be wrapped.| Method Detail |
public int read()
throws java.io.IOException
java.io.IOException - if an I/O error occurs.
|
jamod at SF | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||