NumberTree

Vue de l’ensemble

‘NumberTree’ est une classe dans Aspose.PDF FOSS pour Java.

Lire/écrire sur un arbre de numéro PDF (ISO 32000-1:2008, §7.9.7).

Cette classe fournit 12 méthodes pour travailler avec les objets NumberTree dans les programmes Java. Les méthodologies disponibles comprennent: NumberTREE, clear , containsKey ; entries; entréesUnmodifiable : ‘getetgetRoot . isEmpty. key en font le point, ‘removeà 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 :empty` ou ‘root’.

Propriétés

NameTypeAccessDescription
rootPdfDictionaryReadReturns the underlying root dictionary, or {@code null} if this view
was constructed over a {@code null} root.
emptybooleanReadReturns whether the tree has no entries.

méthodes

SignatureDescription
NumberTree(root: PdfDictionary)Wraps the given root dictionary.
getRoot()PdfDictionaryReturns the underlying root dictionary, or {@code null} if this view
was constructed over a {@code null} root.
isEmpty()booleanReturns whether the tree has no entries.
size()intReturns the number of (key, value) pairs in the tree.
get(key: int)PdfBaseLooks up a key.
containsKey(key: int)booleanReturns whether the tree contains the given key.
entries()List<Map.Entry<Integer, PdfBase>>Returns all entries in tree order (which, for a conformant tree, is
key-sorted order).
keys()List<Integer>Returns all keys in tree order.
put(key: int, value: PdfBase)PdfBaseInserts or replaces a value.
remove(key: int)PdfBaseRemoves a key.
clear()Empties the tree.
entriesUnmodifiable()List<Map.Entry<Integer, PdfBase>>Returns an unmodifiable view of {@link #entries()}.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français