public class ConsoleInputStream extends InputStream
Constructor and Description |
---|
ConsoleInputStream(int handle)
Constructs an InputStream object to collect stdout output from the console.
|
Modifier and Type | Method and Description |
---|---|
int |
available() |
int |
read() |
close, mark, markSupported, read, read, reset, skip
public ConsoleInputStream(int handle)
handle
- pipe to be associated with the streampublic int available() throws IOException
available
in class InputStream
IOException
- ?public int read() throws IOException
read
in class InputStream
IOException
- ?