|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
com.ridgesoft.io.DisplayOutputStream
public class DisplayOutputStream
An output stream for writing to a multi-line display.
This object may be used with a PrintStream for standard println output.
PrintStream
Constructor Summary | |
---|---|
DisplayOutputStream(Display display)
Constructs an OutputStream for the specified display. |
Method Summary | |
---|---|
void |
flush()
Flushes all characters to the display. |
void |
write(byte[] bytes)
Writes ASCII bytes to the display. |
void |
write(byte[] bytes,
int offset,
int length)
Writes ASCII bytes to the display. |
void |
write(int asciiByte)
Writes one ASCII byte to the display. |
Methods inherited from class java.io.OutputStream |
---|
close |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait |
Constructor Detail |
---|
public DisplayOutputStream(Display display)
display
- Display to output toMethod Detail |
---|
public void flush()
flush
in class OutputStream
public void write(byte[] bytes) throws IOException
write
in class OutputStream
bytes
- bytes to write
IOException
public void write(byte[] bytes, int offset, int length) throws IOException
write
in class OutputStream
bytes
- ASCII bytes to writeoffset
- offset of starting bytelength
- length to write
IOException
public void write(int asciiByte)
write
in class OutputStream
asciiByte
- byte to write
|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |