brain.alice
Class AliceBasedInterface.ConsolePromptStream

java.lang.Object
  extended by java.io.OutputStream
      extended by brain.alice.AliceBasedInterface.ConsolePromptStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Enclosing class:
AliceBasedInterface

public class AliceBasedInterface.ConsolePromptStream
extends java.io.OutputStream

Extends OutputStream to direct all output to the prompt field.


Constructor Summary
AliceBasedInterface.ConsolePromptStream()
           
 
Method Summary
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
close, flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AliceBasedInterface.ConsolePromptStream

public AliceBasedInterface.ConsolePromptStream()
Method Detail

write

public void write(byte[] b,
                  int off,
                  int len)
Overrides:
write in class java.io.OutputStream

write

public void write(int b)
Specified by:
write in class java.io.OutputStream