| |
|
| java.lang.Object org.pdfbox.cos.COSBase org.pdfbox.cos.COSNumber
All known Subclasses: org.pdfbox.cos.COSFloat, org.pdfbox.cos.COSInteger,
COSNumber | abstract public class COSNumber extends COSBase (Code) | | This class represents an abstract number in a PDF document.
author: Ben Litchfield version: $Revision: 1.10 $ |
Method Summary | |
abstract public double | doubleValue() This will get the double value of this number. | abstract public float | floatValue() This will get the float value of this number. | public static COSNumber | get(String number) This factory method will get the appropriate number object.
Parameters: number - The string representation of the number. | abstract public int | intValue() This will get the integer value of this number. | abstract public long | longValue() This will get the long value of this number. |
doubleValue | abstract public double doubleValue()(Code) | | This will get the double value of this number.
The double value of this number. |
floatValue | abstract public float floatValue()(Code) | | This will get the float value of this number.
The float value of this object. |
get | public static COSNumber get(String number) throws IOException(Code) | | This factory method will get the appropriate number object.
Parameters: number - The string representation of the number. A number object, either float or int. throws: IOException - If the string is not a number. |
intValue | abstract public int intValue()(Code) | | This will get the integer value of this number.
The integer value of this number. |
longValue | abstract public long longValue()(Code) | | This will get the long value of this number.
The long value of this number. |
|
|
|