|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.io.OutputStream
|
+--edu.neu.ccs.console.ConsoleGateway.ConsoleOutputStream
Inner class of
,
and derived class of
ConsoleGateway
that provides output functionality
for a console object.
OutputStream
ConsoleGateway| Constructor Summary | |
ConsoleGateway.ConsoleOutputStream(int destination)
Constructs a console output stream with the given destination. |
|
| Method Summary | |
void |
close()
Closes this output stream. |
void |
flush()
Flushes this output stream. |
void |
write(byte[] b)
Writes b.length bytes
to this output stream. |
void |
write(byte[] b,
int offset,
int length)
Writes length bytes
from the given byte array
to this output stream,
starting at the specified offset. |
void |
write(int b)
Writes the given byte to this output stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConsoleGateway.ConsoleOutputStream(int destination)
| Method Detail |
public void close()
close in class OutputStream
public void flush()
throws IOException
flush in class OutputStreamIOExceptionpublic void write(byte[] b)
b.length bytes
to this output stream.
write in class OutputStreamb - the array of bytes to write
public void write(byte[] b,
int offset,
int length)
length bytes
from the given byte array
to this output stream,
starting at the specified offset.
write in class OutputStreamb - the array of bytes to writeoffset - the desired offsetlength - the number of bytes to writepublic void write(int b)
write in class OutputStreamb - the byte to write
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||