Save This Page
Home » lucene-2.3.2-src » org.apache » lucene » demo » html » [javadoc | source]
org.apache.lucene.demo.html
public class: SimpleCharStream [javadoc | source]
java.lang.Object
   org.apache.lucene.demo.html.SimpleCharStream
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
Field Summary
public static final  boolean staticFlag     
 int bufsize     
 int available     
 int tokenBegin     
public  int bufpos     
protected  int[] bufline     
protected  int[] bufcolumn     
protected  int column     
protected  int line     
protected  boolean prevCharIsCR     
protected  boolean prevCharIsLF     
protected  Reader inputStream     
protected  char[] buffer     
protected  int maxNextCharInd     
protected  int inBuf     
Constructor:
 public SimpleCharStream(Reader dstream) 
 public SimpleCharStream(InputStream dstream) 
 public SimpleCharStream(Reader dstream,
    int startline,
    int startcolumn) 
 public SimpleCharStream(InputStream dstream,
    int startline,
    int startcolumn) 
 public SimpleCharStream(Reader dstream,
    int startline,
    int startcolumn,
    int buffersize) 
 public SimpleCharStream(InputStream dstream,
    int startline,
    int startcolumn,
    int buffersize) 
Method from org.apache.lucene.demo.html.SimpleCharStream Summary:
BeginToken,   Done,   ExpandBuff,   FillBuff,   GetImage,   GetSuffix,   ReInit,   ReInit,   ReInit,   ReInit,   ReInit,   ReInit,   UpdateLineColumn,   adjustBeginLineColumn,   backup,   getBeginColumn,   getBeginLine,   getColumn,   getEndColumn,   getEndLine,   getLine,   readChar
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.demo.html.SimpleCharStream Detail:
 public char BeginToken() throws IOException 
 public  void Done() 
 protected  void ExpandBuff(boolean wrapAround) 
 protected  void FillBuff() throws IOException 
 public String GetImage() 
 public char[] GetSuffix(int len) 
 public  void ReInit(Reader dstream) 
 public  void ReInit(InputStream dstream) 
 public  void ReInit(Reader dstream,
    int startline,
    int startcolumn) 
 public  void ReInit(InputStream dstream,
    int startline,
    int startcolumn) 
 public  void ReInit(Reader dstream,
    int startline,
    int startcolumn,
    int buffersize) 
 public  void ReInit(InputStream dstream,
    int startline,
    int startcolumn,
    int buffersize) 
 protected  void UpdateLineColumn(char c) 
 public  void adjustBeginLineColumn(int newLine,
    int newCol) 
    Method to adjust line and column numbers for the start of a token.
 public  void backup(int amount) 
 public int getBeginColumn() 
 public int getBeginLine() 
 public int getColumn() 
Deprecated!
 public int getEndColumn() 
 public int getEndLine() 
 public int getLine() 
Deprecated!
 public char readChar() throws IOException