public class ConsoleOutputStream extends OutputStream
Constructor and Description |
---|
ConsoleOutputStream(int handle)
Constructs an OutputStream object to send stdin input to the console.
|
Modifier and Type | Method and Description |
---|---|
void |
flush() |
void |
write(int ch) |
close, write, write
public ConsoleOutputStream(int handle)
handle
- pipe identifierpublic void write(int ch) throws IOException
write
in class OutputStream
ch
- ?IOException
- ?public void flush() throws IOException
flush
in class OutputStream
IOException
- ?