Token

Overview

Token is a class in Aspose.Pdf FOSS for Java.

A single PDF token with its type, string value, and file position.

Properties

NameTypeAccessDescription
typeTokenTypeReadReturns the token type.
valueStringReadReturns the textual value of the token.
positionlongReadReturns the byte position in the source where this token starts.

Methods

SignatureDescription
Token(type: TokenType, value: String, position: long)Creates a new token.
getType()TokenTypeReturns the token type.
getValue()StringReturns the textual value of the token.
getPosition()longReturns the byte position in the source where this token starts.
toString()String

See Also