public class ExtractorTokenManager extends Object implements ExtractorConstants
Modifier and Type | Field and Description |
---|---|
protected char |
curChar |
PrintStream |
debugStream
Debug output.
|
protected SimpleCharStream |
input_stream |
static int[] |
jjnewLexState
Lex State array.
|
static String[] |
jjstrLiteralImages
Token literal values.
|
static String[] |
lexStateNames
Lexer state names.
|
CR, DEFAULT, END_TRAILER, EOF, EOL, LF, PDF_EOF, PDFA_HEADER, PERCENT, START_TRAILER, tokenImage, TRAILER_DICT, WithinTrailer
Constructor and Description |
---|
ExtractorTokenManager(SimpleCharStream stream)
Constructor.
|
ExtractorTokenManager(SimpleCharStream stream,
int lexState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllTrailers() |
Token |
getNextToken()
Get the next Token.
|
protected Token |
jjFillToken() |
static void |
main(String[] args) |
void |
parse() |
void |
ReInit(SimpleCharStream stream)
Reinitialise parser.
|
void |
ReInit(SimpleCharStream stream,
int lexState)
Reinitialise parser.
|
void |
setDebugStream(PrintStream ds)
Set debug output.
|
void |
SwitchTo(int lexState)
Switch to specified lex state.
|
public PrintStream debugStream
public static final String[] jjstrLiteralImages
public static final String[] lexStateNames
public static final int[] jjnewLexState
protected SimpleCharStream input_stream
protected char curChar
public ExtractorTokenManager(SimpleCharStream stream)
public ExtractorTokenManager(SimpleCharStream stream, int lexState)
public static void main(String[] args) throws FileNotFoundException
FileNotFoundException
public void parse()
public void setDebugStream(PrintStream ds)
public void ReInit(SimpleCharStream stream)
public void ReInit(SimpleCharStream stream, int lexState)
public void SwitchTo(int lexState)
protected Token jjFillToken()
public Token getNextToken()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.