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 Details
-
LineCountingCharStream
public LineCountingCharStream(org.apache.lucene.queryparser.charstream.CharStream delegate)
-
-
Method Details
-
BeginToken
- Specified by:
BeginToken
in interfaceorg.apache.lucene.queryparser.charstream.CharStream
- Throws:
IOException
-
readChar
- Specified by:
readChar
in interfaceorg.apache.lucene.queryparser.charstream.CharStream
- Throws:
IOException
-
getBeginLine
public int getBeginLine()- Specified by:
getBeginLine
in interfaceorg.apache.lucene.queryparser.charstream.CharStream
-
getBeginColumn
public int getBeginColumn()- Specified by:
getBeginColumn
in interfaceorg.apache.lucene.queryparser.charstream.CharStream
-
getEndLine
public int getEndLine()- Specified by:
getEndLine
in interfaceorg.apache.lucene.queryparser.charstream.CharStream
-
getEndColumn
public int getEndColumn()- Specified by:
getEndColumn
in interfaceorg.apache.lucene.queryparser.charstream.CharStream
-
backup
public void backup(int amount) - Specified by:
backup
in interfaceorg.apache.lucene.queryparser.charstream.CharStream
-
GetImage
- Specified by:
GetImage
in interfaceorg.apache.lucene.queryparser.charstream.CharStream
-
GetSuffix
public char[] GetSuffix(int len) - Specified by:
GetSuffix
in interfaceorg.apache.lucene.queryparser.charstream.CharStream
-
Done
public void Done()- Specified by:
Done
in interfaceorg.apache.lucene.queryparser.charstream.CharStream
-