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
| Name | Type | Access | Description |
|---|---|---|---|
type | TokenType | Read | Returns the token type. |
value | String | Read | Returns the textual value of the token. |
position | long | Read | Returns the byte position in the source where this token starts. |
Methods
| Signature | Description |
|---|---|
Token(type: TokenType, value: String, position: long) | Creates a new token. |
getType() → TokenType | Returns the token type. |
getValue() → String | Returns the textual value of the token. |
getPosition() → long | Returns the byte position in the source where this token starts. |
toString() → String |