Uses of Enum Class
org.apache.fontbox.type1.Token.Kind
Packages that use Token.Kind
-
Uses of Token.Kind in org.apache.fontbox.type1
Fields in org.apache.fontbox.type1 declared as Token.KindModifier and TypeFieldDescription(package private) static final Token.Kind
Token.CHARSTRING
(package private) static final Token.Kind
Token.END_ARRAY
(package private) static final Token.Kind
Token.END_DICT
(package private) static final Token.Kind
Token.END_PROC
(package private) static final Token.Kind
Token.INTEGER
private final Token.Kind
Token.kind
(package private) static final Token.Kind
Token.LITERAL
(package private) static final Token.Kind
Token.NAME
(package private) static final Token.Kind
Token.REAL
(package private) static final Token.Kind
Token.START_ARRAY
(package private) static final Token.Kind
Token.START_DICT
(package private) static final Token.Kind
Token.START_PROC
(package private) static final Token.Kind
Token.STRING
Methods in org.apache.fontbox.type1 that return Token.KindModifier and TypeMethodDescriptionToken.getKind()
static Token.Kind
Returns the enum constant of this class with the specified name.static Token.Kind[]
Token.Kind.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.fontbox.type1 with parameters of type Token.KindModifier and TypeMethodDescriptionboolean
Type1Lexer.peekKind
(Token.Kind kind) Checks if the kind of the next token equals the given one without consuming it.private Token
Type1Parser.read
(Token.Kind kind) Reads the next token and throws an exception if it is not of the given kind.private void
Type1Parser.read
(Token.Kind kind, String name) Reads the next token and throws an exception if it is not of the given kind and does not have the given value.private Token
Type1Parser.readMaybe
(Token.Kind kind, String name) Reads the next token if and only if it is of the given kind and has the given value.Constructors in org.apache.fontbox.type1 with parameters of type Token.KindModifierConstructorDescription(package private)
Token
(byte[] data, Token.Kind type) Constructs a new Token object given its raw data and kind.(package private)
Token
(char character, Token.Kind type) Constructs a new Token object given its single-character text and kind.(package private)
Token
(String text, Token.Kind type) Constructs a new Token object given its text and kind.