Home » pdfbox-1.1.0-src » org.apache.pdfbox.cos » [javadoc | source]
abstract public class: COSNumber [javadoc | source]

All Implemented Interfaces:

Direct Known Subclasses:
    COSFloat, COSInteger

This class represents an abstract number in a PDF document.
Field Summary
public static final  COSInteger ZERO   
    public static final  COSInteger ONE   
      Method from org.apache.pdfbox.cos.COSNumber Summary:
      doubleValue,   floatValue,   get,   intValue,   longValue
      Methods from org.apache.pdfbox.cos.COSBase:
      accept,   getCOSObject,   getFilterManager
      Methods from java.lang.Object:
      clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
      Method from org.apache.pdfbox.cos.COSNumber Detail:
       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) throws IOException 
        This factory method will get the appropriate number object.
       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.