Return-Path: X-Original-To: apmail-pdfbox-commits-archive@www.apache.org Delivered-To: apmail-pdfbox-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 84F7518D96 for ; Mon, 16 Nov 2015 19:21:02 +0000 (UTC) Received: (qmail 91523 invoked by uid 500); 16 Nov 2015 19:21:02 -0000 Delivered-To: apmail-pdfbox-commits-archive@pdfbox.apache.org Received: (qmail 91452 invoked by uid 500); 16 Nov 2015 19:21:02 -0000 Mailing-List: contact commits-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list commits@pdfbox.apache.org Received: (qmail 90527 invoked by uid 99); 16 Nov 2015 19:21:01 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2015 19:21:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8AA64E083A; Mon, 16 Nov 2015 19:21:01 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: msahyoun@apache.org To: commits@pdfbox.apache.org Date: Mon, 16 Nov 2015 19:21:30 -0000 Message-Id: In-Reply-To: <8678630bed394f3295a8f7e5b112881d@git.apache.org> References: <8678630bed394f3295a8f7e5b112881d@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [31/51] [partial] pdfbox-docs git commit: Site checkin for project Apache PDFBox Website http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3ca1d144/content/docs/1.8.10/javadocs/org/apache/pdfbox/cos/COSFloat.html ---------------------------------------------------------------------- diff --git a/content/docs/1.8.10/javadocs/org/apache/pdfbox/cos/COSFloat.html b/content/docs/1.8.10/javadocs/org/apache/pdfbox/cos/COSFloat.html new file mode 100644 index 0000000..9736aa4 --- /dev/null +++ b/content/docs/1.8.10/javadocs/org/apache/pdfbox/cos/COSFloat.html @@ -0,0 +1,506 @@ + + + + + + +COSFloat (Apache PDFBox 1.8.10 API) + + + + + + + + + + + +
+
org.apache.pdfbox.cos
+

Class COSFloat

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    COSObjectable
    +
    +
    +
    +
    public class COSFloat
    +extends COSNumber
    +
    This class represents a floating point number in a PDF document.
    +
    Author:
    +
    Ben Litchfield
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        COSFloat

        +
        public COSFloat(float aFloat)
        +
        Constructor.
        +
        Parameters:
        aFloat - The primitive float object that this object wraps.
        +
      • +
      + + + +
        +
      • +

        COSFloat

        +
        public COSFloat(String aFloat)
        +         throws IOException
        +
        Constructor.
        +
        Parameters:
        aFloat - The primitive float object that this object wraps.
        +
        Throws:
        +
        IOException - If aFloat is not a float.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setValue

        +
        public void setValue(float floatValue)
        +
        Set the value of the float object.
        +
        Parameters:
        floatValue - The new float value.
        +
      • +
      + + + +
        +
      • +

        floatValue

        +
        public float floatValue()
        +
        The value of the float object that this one wraps.
        +
        +
        Specified by:
        +
        floatValue in class COSNumber
        +
        Returns:
        The value of this object.
        +
      • +
      + + + +
        +
      • +

        doubleValue

        +
        public double doubleValue()
        +
        The value of the double object that this one wraps.
        +
        +
        Specified by:
        +
        doubleValue in class COSNumber
        +
        Returns:
        The double of this object.
        +
      • +
      + + + +
        +
      • +

        longValue

        +
        public long longValue()
        +
        This will get the long value of this object.
        +
        +
        Specified by:
        +
        longValue in class COSNumber
        +
        Returns:
        The long value of this object,
        +
      • +
      + + + +
        +
      • +

        intValue

        +
        public int intValue()
        +
        This will get the integer value of this object.
        +
        +
        Specified by:
        +
        intValue in class COSNumber
        +
        Returns:
        The int value of this object,
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        accept

        +
        public Object accept(ICOSVisitor visitor)
        +              throws COSVisitorException
        +
        visitor pattern double dispatch method.
        +
        +
        Specified by:
        +
        accept in class COSBase
        +
        Parameters:
        visitor - The object to notify when visiting this object.
        +
        Returns:
        any object, depending on the visitor implementation, or null
        +
        Throws:
        +
        COSVisitorException - If an error occurs while visiting this object.
        +
      • +
      + + + +
        +
      • +

        writePDF

        +
        public void writePDF(OutputStream output)
        +              throws IOException
        +
        This will output this string as a PDF object.
        +
        Parameters:
        output - The stream to write to.
        +
        Throws:
        +
        IOException - If there is an error writing to the stream.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.

+ + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3ca1d144/content/docs/1.8.10/javadocs/org/apache/pdfbox/cos/COSInteger.html ---------------------------------------------------------------------- diff --git a/content/docs/1.8.10/javadocs/org/apache/pdfbox/cos/COSInteger.html b/content/docs/1.8.10/javadocs/org/apache/pdfbox/cos/COSInteger.html new file mode 100644 index 0000000..0630392 --- /dev/null +++ b/content/docs/1.8.10/javadocs/org/apache/pdfbox/cos/COSInteger.html @@ -0,0 +1,635 @@ + + + + + + +COSInteger (Apache PDFBox 1.8.10 API) + + + + + + + + + + + +
+
org.apache.pdfbox.cos
+

Class COSInteger

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    COSObjectable
    +
    +
    +
    +
    public class COSInteger
    +extends COSNumber
    +
    This class represents an integer number in a PDF document.
    +
    Version:
    +
    $Revision: 1.12 $
    +
    Author:
    +
    Ben Litchfield
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        ZERO

        +
        public static final COSInteger ZERO
        +
        Constant for the number zero.
        +
        Since:
        +
        Apache PDFBox 1.1.0
        +
      • +
      + + + +
        +
      • +

        ONE

        +
        public static final COSInteger ONE
        +
        Constant for the number one.
        +
        Since:
        +
        Apache PDFBox 1.1.0
        +
      • +
      + + + +
        +
      • +

        TWO

        +
        public static final COSInteger TWO
        +
        Constant for the number two.
        +
        Since:
        +
        Apache PDFBox 1.1.0
        +
      • +
      + + + +
        +
      • +

        THREE

        +
        public static final COSInteger THREE
        +
        Constant for the number three.
        +
        Since:
        +
        Apache PDFBox 1.1.0
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        COSInteger

        +
        public COSInteger(long val)
        +
        Deprecated. use the static get(long) method instead
        +
        constructor.
        +
        Parameters:
        val - The integer value of this object.
        +
      • +
      + + + +
        +
      • +

        COSInteger

        +
        public COSInteger(int val)
        +
        Deprecated. use the static get(long) method instead
        +
        constructor.
        +
        Parameters:
        val - The integer value of this object.
        +
      • +
      + + + +
        +
      • +

        COSInteger

        +
        public COSInteger(String val)
        +           throws IOException
        +
        Deprecated. use the static get(long) method instead
        +
        This will create a new PDF Int object using a string.
        +
        Parameters:
        val - The string value of the integer.
        +
        Throws:
        +
        IOException - If the val is not an integer type.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        public static COSInteger get(long val)
        +
        Returns a COSInteger instance with the given value.
        +
        Parameters:
        val - integer value
        +
        Returns:
        COSInteger instance
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setValue

        +
        public void setValue(long newValue)
        +
        Change the value of this reference.
        +
        Parameters:
        newValue - The new value.
        +
      • +
      + + + +
        +
      • +

        floatValue

        +
        public float floatValue()
        +
        polymorphic access to value as float.
        +
        +
        Specified by:
        +
        floatValue in class COSNumber
        +
        Returns:
        The float value of this object.
        +
      • +
      + + + +
        +
      • +

        doubleValue

        +
        public double doubleValue()
        +
        polymorphic access to value as float.
        +
        +
        Specified by:
        +
        doubleValue in class COSNumber
        +
        Returns:
        The double value of this object.
        +
      • +
      + + + +
        +
      • +

        intValue

        +
        public int intValue()
        +
        Polymorphic access to value as int + This will get the integer value of this object.
        +
        +
        Specified by:
        +
        intValue in class COSNumber
        +
        Returns:
        The int value of this object,
        +
      • +
      + + + +
        +
      • +

        longValue

        +
        public long longValue()
        +
        Polymorphic access to value as int + This will get the integer value of this object.
        +
        +
        Specified by:
        +
        longValue in class COSNumber
        +
        Returns:
        The int value of this object,
        +
      • +
      + + + +
        +
      • +

        accept

        +
        public Object accept(ICOSVisitor visitor)
        +              throws COSVisitorException
        +
        visitor pattern double dispatch method.
        +
        +
        Specified by:
        +
        accept in class COSBase
        +
        Parameters:
        visitor - The object to notify when visiting this object.
        +
        Returns:
        any object, depending on the visitor implementation, or null
        +
        Throws:
        +
        COSVisitorException - If an error occurs while visiting this object.
        +
      • +
      + + + +
        +
      • +

        writePDF

        +
        public void writePDF(OutputStream output)
        +              throws IOException
        +
        This will output this string as a PDF object.
        +
        Parameters:
        output - The stream to write to.
        +
        Throws:
        +
        IOException - If there is an error writing to the stream.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.

+ + \ No newline at end of file