public class ConsoleInputStream
extends java.io.Reader
Constructor and Description |
---|
ConsoleInputStream(JConsole console) |
Modifier and Type | Method and Description |
---|---|
void |
addText(java.lang.String text) |
void |
close() |
int |
read(char[] buf,
int off,
int len) |
public ConsoleInputStream(JConsole console)
console
- public void addText(java.lang.String text)
text
- public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Reader
java.io.IOException
public int read(char[] buf, int off, int len) throws java.io.IOException
read
in class java.io.Reader
java.io.IOException