Class LineCountingCharStream
java.lang.Object
org.graylog.plugins.views.search.validation.LineCountingCharStream
- All Implemented Interfaces:
org.apache.lucene.queryparser.charstream.CharStream
public class LineCountingCharStream
extends Object
implements org.apache.lucene.queryparser.charstream.CharStream
-
Constructor Summary
ConstructorsConstructorDescriptionLineCountingCharStream(org.apache.lucene.queryparser.charstream.CharStream delegate) -
Method Summary
-
Constructor Details
-
LineCountingCharStream
public LineCountingCharStream(org.apache.lucene.queryparser.charstream.CharStream delegate)
-
-
Method Details
-
BeginToken
- Specified by:
BeginTokenin interfaceorg.apache.lucene.queryparser.charstream.CharStream- Throws:
IOException
-
readChar
- Specified by:
readCharin interfaceorg.apache.lucene.queryparser.charstream.CharStream- Throws:
IOException
-
getBeginLine
public int getBeginLine()- Specified by:
getBeginLinein interfaceorg.apache.lucene.queryparser.charstream.CharStream
-
getBeginColumn
public int getBeginColumn()- Specified by:
getBeginColumnin interfaceorg.apache.lucene.queryparser.charstream.CharStream
-
getEndLine
public int getEndLine()- Specified by:
getEndLinein interfaceorg.apache.lucene.queryparser.charstream.CharStream
-
getEndColumn
public int getEndColumn()- Specified by:
getEndColumnin interfaceorg.apache.lucene.queryparser.charstream.CharStream
-
backup
public void backup(int amount) - Specified by:
backupin interfaceorg.apache.lucene.queryparser.charstream.CharStream
-
GetImage
- Specified by:
GetImagein interfaceorg.apache.lucene.queryparser.charstream.CharStream
-
GetSuffix
public char[] GetSuffix(int len) - Specified by:
GetSuffixin interfaceorg.apache.lucene.queryparser.charstream.CharStream
-
Done
public void Done()- Specified by:
Donein interfaceorg.apache.lucene.queryparser.charstream.CharStream
-