Package com.sun.pdfview
Class PDFParser.Tok
java.lang.Object
com.sun.pdfview.PDFParser.Tok
- Enclosing class:
PDFParser
a token from a PDF Stream
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intbegin array [static final intend array ]static final intbegin brace {static final intend brace }static final intbegin bracket <static final intend bracket >static final intkeywordstatic final intend of streamthe string value of a STR, NAME, or CMD tokenstatic final intname (begins with /)static final intnumberstatic final intString (, readString looks for trailing )intthe type of the tokenstatic final intunknown tokendoublethe value of a NUM token -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BRKB
public static final int BRKBbegin bracket <- See Also:
-
BRKE
public static final int BRKEend bracket >- See Also:
-
ARYB
public static final int ARYBbegin array [- See Also:
-
ARYE
public static final int ARYEend array ]- See Also:
-
STR
public static final int STRString (, readString looks for trailing )- See Also:
-
BRCB
public static final int BRCBbegin brace {- See Also:
-
BRCE
public static final int BRCEend brace }- See Also:
-
NUM
public static final int NUMnumber- See Also:
-
CMD
public static final int CMDkeyword- See Also:
-
NAME
public static final int NAMEname (begins with /)- See Also:
-
UNK
public static final int UNKunknown token- See Also:
-
EOF
public static final int EOFend of stream- See Also:
-
name
the string value of a STR, NAME, or CMD token -
value
public double valuethe value of a NUM token -
type
public int typethe type of the token
-
-
Constructor Details
-
Tok
Tok()
-
-
Method Details