org.alicebot.gui
Class SimpleConsole.ConsoleInputStream
java.lang.Object
java.io.InputStream
org.alicebot.gui.SimpleConsole.ConsoleInputStream
- All Implemented Interfaces:
- java.io.Closeable
- Enclosing class:
- SimpleConsole
public class SimpleConsole.ConsoleInputStream
- extends java.io.InputStream
Field Summary |
(package private) byte[] |
content
|
Methods inherited from class java.io.InputStream |
close, mark, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
content
byte[] content
SimpleConsole.ConsoleInputStream
public SimpleConsole.ConsoleInputStream()
receive
public void receive(java.lang.String string)
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException
available
public int available()
throws java.io.IOException
- Overrides:
available
in class java.io.InputStream
- Throws:
java.io.IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class java.io.InputStream
read
public int read()
- Specified by:
read
in class java.io.InputStream