Package com.sun.pdfview
Class PDFParser.Tok
- java.lang.Object
-
- com.sun.pdfview.PDFParser.Tok
-
- Enclosing class:
- PDFParser
class PDFParser.Tok extends java.lang.Objecta token from a PDF Stream
-
-
Field Summary
Fields Modifier and Type Field Description static intARYBbegin array [static intARYEend array ]static intBRCBbegin brace {static intBRCEend brace }static intBRKBbegin bracket <static intBRKEend bracket >static intCMDkeywordstatic intEOFend of streamjava.lang.Stringnamethe string value of a STR, NAME, or CMD tokenstatic intNAMEname (begins with /)static intNUMnumberstatic intSTRString (, readString looks for trailing )inttypethe type of the tokenstatic intUNKunknown tokendoublevaluethe value of a NUM token
-
Constructor Summary
Constructors Constructor Description Tok()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()a printable representation of the token
-
-
-
Field Detail
-
BRKB
public static final int BRKB
begin bracket <- See Also:
- Constant Field Values
-
BRKE
public static final int BRKE
end bracket >- See Also:
- Constant Field Values
-
ARYB
public static final int ARYB
begin array [- See Also:
- Constant Field Values
-
ARYE
public static final int ARYE
end array ]- See Also:
- Constant Field Values
-
STR
public static final int STR
String (, readString looks for trailing )- See Also:
- Constant Field Values
-
BRCB
public static final int BRCB
begin brace {- See Also:
- Constant Field Values
-
BRCE
public static final int BRCE
end brace }- See Also:
- Constant Field Values
-
NUM
public static final int NUM
number- See Also:
- Constant Field Values
-
CMD
public static final int CMD
keyword- See Also:
- Constant Field Values
-
NAME
public static final int NAME
name (begins with /)- See Also:
- Constant Field Values
-
UNK
public static final int UNK
unknown token- See Also:
- Constant Field Values
-
EOF
public static final int EOF
end of stream- See Also:
- Constant Field Values
-
name
public java.lang.String name
the string value of a STR, NAME, or CMD token
-
value
public double value
the value of a NUM token
-
type
public int type
the type of the token
-
-