jline
Class ConsoleReaderInputStream.ConsoleLineInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by jline.ConsoleReaderInputStream.ConsoleLineInputStream
All Implemented Interfaces:
java.io.Closeable
Enclosing class:
ConsoleReaderInputStream

private static class ConsoleReaderInputStream.ConsoleLineInputStream
extends java.io.InputStream


Field Summary
private  boolean eol
           
private  int index
           
private  java.lang.String line
           
private  ConsoleReader reader
           
protected  boolean wasNull
           
 
Constructor Summary
ConsoleReaderInputStream.ConsoleLineInputStream(ConsoleReader reader)
           
 
Method Summary
 int read()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reader

private final ConsoleReader reader

line

private java.lang.String line

index

private int index

eol

private boolean eol

wasNull

protected boolean wasNull
Constructor Detail

ConsoleReaderInputStream.ConsoleLineInputStream

public ConsoleReaderInputStream.ConsoleLineInputStream(ConsoleReader reader)
Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException