Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » analysis » [javadoc | source]
public final class: CharReader [javadoc | source]

All Implemented Interfaces:
    Closeable, Readable

CharReader is a Reader wrapper. It reads chars from Reader and outputs CharStream , defining an identify function #correctOffset method that simply returns the provided offset.
Field Summary
protected  Reader input     
Fields inherited from
Method from org.apache.lucene.analysis.CharReader Summary:
close,   correctOffset,   get,   mark,   markSupported,   read,   reset
Methods from org.apache.lucene.analysis.CharStream:
Methods from
close,   mark,   markSupported,   read,   read,   read,   read,   ready,   reset,   skip
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.analysis.CharReader Detail:
 public  void close() throws IOException 
 public int correctOffset(int currentOff) 
 public static CharStream get(Reader input) 
 public  void mark(int readAheadLimit) throws IOException 
 public boolean markSupported() 
 public int read(char[] cbuf,
    int off,
    int len) throws IOException 
 public  void reset() throws IOException