PdfInteger

Vue de l’ensemble

‘PdfInteger’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: PdfBase.

Objet intégral PDF (§7.3.3, ISO 32000-1:2008).

Cette classe fournit 14 méthodes pour travailler avec des objets PdfInteger dans les programmes Java. Les méthodologies disponibles comprennent: accept, equals , ‘floatValue;getObjectKey; hashCode : intValué et isDirty en direct, ’longVvalué’ en long terme, ’setDustyà la fois, et 2 méthodies supplémentaires. Tous les membres publics sont accessibles à toute application Java après l’installation de l'Aspose.PDF FOSS pour le package Java . Propriétés :ONEs, ‘ZERO sorts indirectobjectkey`.

Propriétés

NameTypeAccessDescription
ZEROPdfIntegerReadThe constant for value 0.
ONEPdfIntegerReadThe constant for value 1.
dirtybooleanReadReturns {@code true} if this object was modified since loading.
indirectbooleanReadReturns whether this object is an indirect object (has an object key).
objectKeyPdfObjectKeyReadReturns the indirect object key, or {@code null} for direct objects.

méthodes

SignatureDescription
valueOf(value: long)PdfIntegerReturns a PdfInteger for the given value.
longValue()longReturns the value as a {@code long}.
intValue()intReturns the value as an {@code int}, throwing if it overflows.
floatValue()floatReturns the value as a {@code float}.
setObjectKey(key: PdfObjectKey)Protects cached flyweight instances from object key assignment.
writeTo(os: OutputStream)
accept(visitor: IPdfVisitor<T>)T
equals(o: Object)boolean
hashCode()int
toString()String
isDirty()booleanReturns {@code true} if this object was modified since loading.
setDirty(dirty: boolean)Sets the dirty flag on this object.
isIndirect()booleanReturns whether this object is an indirect object (has an object key).
getObjectKey()PdfObjectKeyReturns the indirect object key, or {@code null} for direct objects.

Voir aussi

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