brain.alice
Class AliceBasedInterface.ConsoleInputStream
java.lang.Object
java.io.InputStream
brain.alice.AliceBasedInterface.ConsoleInputStream
- All Implemented Interfaces:
- java.io.Closeable
- Enclosing class:
- AliceBasedInterface
public class AliceBasedInterface.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
AliceBasedInterface.ConsoleInputStream
public AliceBasedInterface.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