TOKEN
Vue de l’ensemble
‘Token’ est une classe dans Aspose.PDF FOSS pour Java.
Un seul token PDF avec son type, sa valeur de la barre et sa position du fichier.
Cette classe fournit 5 méthodes pour travailler avec des objets Token dans les programmes Java. Les méthodologies disponibles comprennent: ‘Token’, ‘getPosition’, getType', ‘getValue’, 'toString'. Tous les membres publics sont accessibles à n'importe quelle application Java après l'installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : 'position', ’type‘, 'value.
Propriétés
| 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. |
méthodes
| 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 |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise