Uses of Class
org.apache.fontbox.type1.Token
-
Packages that use Token Package Description org.apache.fontbox.type1 This package holds classes used to parse Type1-Fonts. -
-
Uses of Token in org.apache.fontbox.type1
Fields in org.apache.fontbox.type1 declared as Token Modifier and Type Field Description private Token
Type1Lexer. aheadToken
Methods in org.apache.fontbox.type1 that return Token Modifier and Type Method Description Token
Type1Lexer. nextToken()
Returns the next token and consumes it.Token
Type1Lexer. peekToken()
Returns the next token without consuming it.private Token
Type1Parser. read(Token.Kind kind)
Reads the next token and throws an error if it is not of the given kind.private Token
Type1Lexer. readCharString(int length)
Reads a binary CharString.private Token
Type1Parser. readMaybe(Token.Kind kind, java.lang.String name)
Reads the next token if and only if it is of the given kind and has the given value.private Token
Type1Lexer. readString()
Reads a (string).private Token
Type1Lexer. readToken(Token prevToken)
Reads a single token.private Token
Type1Lexer. tryReadNumber()
Reads a number or returns null.Methods in org.apache.fontbox.type1 that return types with arguments of type Token Modifier and Type Method Description private java.util.List<Token>
Type1Parser. readDictValue()
Reads a simple value from a dictionary.private java.util.List<Token>
Type1Parser. readProc()
Reads a procedure.private java.util.Map<java.lang.String,java.util.List<Token>>
Type1Parser. readSimpleDict()
Reads a dictionary whose values are simple, i.e., do not contain nested dictionaries.private java.util.List<Token>
Type1Parser. readValue()
Reads a simple value.Methods in org.apache.fontbox.type1 with parameters of type Token Modifier and Type Method Description private Token
Type1Lexer. readToken(Token prevToken)
Reads a single token.Method parameters in org.apache.fontbox.type1 with type arguments of type Token Modifier and Type Method Description private java.util.List<java.lang.Number>
Type1Parser. arrayToNumbers(java.util.List<Token> value)
Extracts values from an array as numbers.private void
Type1Parser. readFontInfo(java.util.Map<java.lang.String,java.util.List<Token>> fontInfo)
Extracts values from the /FontInfo dictionary.private void
Type1Parser. readPostScriptWrapper(java.util.List<Token> value)
private void
Type1Parser. readPrivate(java.lang.String key, java.util.List<Token> value)
Extracts values from the /Private dictionary.
-