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 int
begin array [static final int
end array ]static final int
begin brace {static final int
end brace }static final int
begin bracket <static final int
end bracket >static final int
keywordstatic final int
end of streamthe string value of a STR, NAME, or CMD tokenstatic final int
name (begins with /)static final int
numberstatic final int
String (, readString looks for trailing )int
the type of the tokenstatic final int
unknown tokendouble
the 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