public abstract class PBCosNumber extends PBCosObject implements CosNumber
PBCosInteger,
PBCosRealbaseObject, MAX_NUMBER_OF_ELEMENTScontextDependent| Modifier | Constructor and Description |
|---|---|
protected |
PBCosNumber(COSNumber number,
String type) |
| Modifier and Type | Method and Description |
|---|---|
static PBCosNumber |
fromPDFBoxNumber(COSBase number) |
Long |
getintValue()
Get truncated integer value
|
Double |
getrealValue()
Get original decimal value
|
String |
getstringValue()
Get the string representing this object
|
getFromValuegetExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentpublic static PBCosNumber fromPDFBoxNumber(COSBase number)
public String getstringValue()
getstringValue in interface CosNumberpublic Long getintValue()
getintValue in interface CosNumberpublic Double getrealValue()
getrealValue in interface CosNumberCopyright © 2015–2020 The veraPDF Consortium. All rights reserved.