http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/37d0891c/content/docs/1.8.11/javadocs/org/apache/pdfbox/cos/COSFloat.html ---------------------------------------------------------------------- diff --git a/content/docs/1.8.11/javadocs/org/apache/pdfbox/cos/COSFloat.html b/content/docs/1.8.11/javadocs/org/apache/pdfbox/cos/COSFloat.html new file mode 100644 index 0000000..fd1db3f --- /dev/null +++ b/content/docs/1.8.11/javadocs/org/apache/pdfbox/cos/COSFloat.html @@ -0,0 +1,506 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc (version 1.7.0_79) on Sat Mar 26 09:48:31 CET 2016 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>COSFloat (Apache PDFBox 1.8.11 API)</title> +<meta name="date" content="2016-03-26"> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="COSFloat (Apache PDFBox 1.8.11 API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/COSFloat.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/pdfbox/cos/COSDocument.html" title="class in org.apache.pdfbox.cos"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/pdfbox/cos/COSInteger.html" title="class in org.apache.pdfbox.cos"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/pdfbox/cos/COSFloat.html" target="_top">Frames</a></li> +<li><a href="COSFloat.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#fields_inherited_from_class_org.apache.pdfbox.cos.COSNumber">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.pdfbox.cos</div> +<h2 title="Class COSFloat" class="title">Class COSFloat</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../../org/apache/pdfbox/cos/COSBase.html" title="class in org.apache.pdfbox.cos">org.apache.pdfbox.cos.COSBase</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">org.apache.pdfbox.cos.COSNumber</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.pdfbox.cos.COSFloat</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../../org/apache/pdfbox/pdmodel/common/COSObjectable.html" title="interface in org.apache.pdfbox.pdmodel.common">COSObjectable</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">COSFloat</span> +extends <a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">COSNumber</a></pre> +<div class="block">This class represents a floating point number in a PDF document.</div> +<dl><dt><span class="strong">Author:</span></dt> + <dd><a href="mailto:b...@benlitchfield.com">Ben Litchfield</a></dd></dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="fields_inherited_from_class_org.apache.pdfbox.cos.COSNumber"> +<!-- --> +</a> +<h3>Fields inherited from class org.apache.pdfbox.cos.<a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">COSNumber</a></h3> +<code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html#ONE">ONE</a>, <a href="../../../../org/apache/pdfbox/cos/COSNumber.html#ZERO">ZERO</a></code></li> +</ul> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSFloat.html#COSFloat(float)">COSFloat</a></strong>(float aFloat)</code> +<div class="block">Constructor.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSFloat.html#COSFloat(java.lang.String)">COSFloat</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> aFloat)</code> +<div class="block">Constructor.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSFloat.html#accept(org.apache.pdfbox.cos.ICOSVisitor)">accept</a></strong>(<a href="../../../../org/apache/pdfbox/cos/ICOSVisitor.html" title="interface in org.apache.pdfbox.cos">ICOSVisitor</a> visitor)</code> +<div class="block">visitor pattern double dispatch method.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSFloat.html#doubleValue()">doubleValue</a></strong>()</code> +<div class="block">The value of the double object that this one wraps.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSFloat.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code></td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSFloat.html#floatValue()">floatValue</a></strong>()</code> +<div class="block">The value of the float object that this one wraps.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSFloat.html#hashCode()">hashCode</a></strong>()</code></td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSFloat.html#intValue()">intValue</a></strong>()</code> +<div class="block">This will get the integer value of this object.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSFloat.html#longValue()">longValue</a></strong>()</code> +<div class="block">This will get the long value of this object.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSFloat.html#setValue(float)">setValue</a></strong>(float floatValue)</code> +<div class="block">Set the value of the float object.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSFloat.html#toString()">toString</a></strong>()</code></td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSFloat.html#writePDF(java.io.OutputStream)">writePDF</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> output)</code> +<div class="block">This will output this string as a PDF object.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_org.apache.pdfbox.cos.COSNumber"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.pdfbox.cos.<a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">COSNumber</a></h3> +<code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html#get(java.lang.String)">get</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_org.apache.pdfbox.cos.COSBase"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.pdfbox.cos.<a href="../../../../org/apache/pdfbox/cos/COSBase.html" title="class in org.apache.pdfbox.cos">COSBase</a></h3> +<code><a href="../../../../org/apache/pdfbox/cos/COSBase.html#getCOSObject()">getCOSObject</a>, <a href="../../../../org/apache/pdfbox/cos/COSBase.html#getFilterManager()">getFilterManager</a>, <a href="../../../../org/apache/pdfbox/cos/COSBase.html#isDirect()">isDirect</a>, <a href="../../../../org/apache/pdfbox/cos/COSBase.html#isNeedToBeUpdate()">isNeedToBeUpdate</a>, <a href="../../../../org/apache/pdfbox/cos/COSBase.html#setDirect(boolean)">setDirect</a>, <a href="../../../../org/apache/pdfbox/cos/COSBase.html#setNeedToBeUpdate(boolean)">setNeedToBeUpdate</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.orac le.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="COSFloat(float)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>COSFloat</h4> +<pre>public COSFloat(float aFloat)</pre> +<div class="block">Constructor.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>aFloat</code> - The primitive float object that this object wraps.</dd></dl> +</li> +</ul> +<a name="COSFloat(java.lang.String)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>COSFloat</h4> +<pre>public COSFloat(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> aFloat) + throws <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Constructor.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>aFloat</code> - The primitive float object that this object wraps.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If aFloat is not a float.</dd></dl> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="setValue(float)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setValue</h4> +<pre>public void setValue(float floatValue)</pre> +<div class="block">Set the value of the float object.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>floatValue</code> - The new float value.</dd></dl> +</li> +</ul> +<a name="floatValue()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>floatValue</h4> +<pre>public float floatValue()</pre> +<div class="block">The value of the float object that this one wraps.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html#floatValue()">floatValue</a></code> in class <code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">COSNumber</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>The value of this object.</dd></dl> +</li> +</ul> +<a name="doubleValue()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>doubleValue</h4> +<pre>public double doubleValue()</pre> +<div class="block">The value of the double object that this one wraps.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html#doubleValue()">doubleValue</a></code> in class <code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">COSNumber</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>The double of this object.</dd></dl> +</li> +</ul> +<a name="longValue()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>longValue</h4> +<pre>public long longValue()</pre> +<div class="block">This will get the long value of this object.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html#longValue()">longValue</a></code> in class <code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">COSNumber</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>The long value of this object,</dd></dl> +</li> +</ul> +<a name="intValue()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>intValue</h4> +<pre>public int intValue()</pre> +<div class="block">This will get the integer value of this object.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html#intValue()">intValue</a></code> in class <code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">COSNumber</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>The int value of this object,</dd></dl> +</li> +</ul> +<a name="equals(java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>equals</h4> +<pre>public boolean equals(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +</dl> +</li> +</ul> +<a name="hashCode()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hashCode</h4> +<pre>public int hashCode()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +</dl> +</li> +</ul> +<a name="toString()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toString</h4> +<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +</dl> +</li> +</ul> +<a name="accept(org.apache.pdfbox.cos.ICOSVisitor)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>accept</h4> +<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> accept(<a href="../../../../org/apache/pdfbox/cos/ICOSVisitor.html" title="interface in org.apache.pdfbox.cos">ICOSVisitor</a> visitor) + throws <a href="../../../../org/apache/pdfbox/exceptions/COSVisitorException.html" title="class in org.apache.pdfbox.exceptions">COSVisitorException</a></pre> +<div class="block">visitor pattern double dispatch method.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../org/apache/pdfbox/cos/COSBase.html#accept(org.apache.pdfbox.cos.ICOSVisitor)">accept</a></code> in class <code><a href="../../../../org/apache/pdfbox/cos/COSBase.html" title="class in org.apache.pdfbox.cos">COSBase</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>visitor</code> - The object to notify when visiting this object.</dd> +<dt><span class="strong">Returns:</span></dt><dd>any object, depending on the visitor implementation, or null</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../org/apache/pdfbox/exceptions/COSVisitorException.html" title="class in org.apache.pdfbox.exceptions">COSVisitorException</a></code> - If an error occurs while visiting this object.</dd></dl> +</li> +</ul> +<a name="writePDF(java.io.OutputStream)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>writePDF</h4> +<pre>public void writePDF(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> output) + throws <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">This will output this string as a PDF object.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>output</code> - The stream to write to.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If there is an error writing to the stream.</dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/COSFloat.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/pdfbox/cos/COSDocument.html" title="class in org.apache.pdfbox.cos"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/pdfbox/cos/COSInteger.html" title="class in org.apache.pdfbox.cos"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/pdfbox/cos/COSFloat.html" target="_top">Frames</a></li> +<li><a href="COSFloat.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#fields_inherited_from_class_org.apache.pdfbox.cos.COSNumber">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2002-2016 <a href="http://pdfbox.apache.org">The Apache Software Foundation</a>. All Rights Reserved.</small></p> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/37d0891c/content/docs/1.8.11/javadocs/org/apache/pdfbox/cos/COSInteger.html ---------------------------------------------------------------------- diff --git a/content/docs/1.8.11/javadocs/org/apache/pdfbox/cos/COSInteger.html b/content/docs/1.8.11/javadocs/org/apache/pdfbox/cos/COSInteger.html new file mode 100644 index 0000000..d9d204e --- /dev/null +++ b/content/docs/1.8.11/javadocs/org/apache/pdfbox/cos/COSInteger.html @@ -0,0 +1,635 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="de"> +<head> +<!-- Generated by javadoc (version 1.7.0_79) on Sat Mar 26 09:48:31 CET 2016 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>COSInteger (Apache PDFBox 1.8.11 API)</title> +<meta name="date" content="2016-03-26"> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="COSInteger (Apache PDFBox 1.8.11 API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/COSInteger.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/pdfbox/cos/COSFloat.html" title="class in org.apache.pdfbox.cos"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/pdfbox/cos/COSName.html" title="class in org.apache.pdfbox.cos"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/pdfbox/cos/COSInteger.html" target="_top">Frames</a></li> +<li><a href="COSInteger.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.pdfbox.cos</div> +<h2 title="Class COSInteger" class="title">Class COSInteger</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../../org/apache/pdfbox/cos/COSBase.html" title="class in org.apache.pdfbox.cos">org.apache.pdfbox.cos.COSBase</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">org.apache.pdfbox.cos.COSNumber</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.pdfbox.cos.COSInteger</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../../org/apache/pdfbox/pdmodel/common/COSObjectable.html" title="interface in org.apache.pdfbox.pdmodel.common">COSObjectable</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">COSInteger</span> +extends <a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">COSNumber</a></pre> +<div class="block">This class represents an integer number in a PDF document.</div> +<dl><dt><span class="strong">Version:</span></dt> + <dd>$Revision: 1.12 $</dd> +<dt><span class="strong">Author:</span></dt> + <dd><a href="mailto:b...@benlitchfield.com">Ben Litchfield</a></dd></dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../org/apache/pdfbox/cos/COSInteger.html" title="class in org.apache.pdfbox.cos">COSInteger</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#ONE">ONE</a></strong></code> +<div class="block">Constant for the number one.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../org/apache/pdfbox/cos/COSInteger.html" title="class in org.apache.pdfbox.cos">COSInteger</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#THREE">THREE</a></strong></code> +<div class="block">Constant for the number three.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../org/apache/pdfbox/cos/COSInteger.html" title="class in org.apache.pdfbox.cos">COSInteger</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#TWO">TWO</a></strong></code> +<div class="block">Constant for the number two.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../org/apache/pdfbox/cos/COSInteger.html" title="class in org.apache.pdfbox.cos">COSInteger</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#ZERO">ZERO</a></strong></code> +<div class="block">Constant for the number zero.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#COSInteger(int)">COSInteger</a></strong>(int val)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>use the static <a href="../../../../org/apache/pdfbox/cos/COSInteger.html#get(long)"><code>get(long)</code></a> method instead</i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#COSInteger(long)">COSInteger</a></strong>(long val)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>use the static <a href="../../../../org/apache/pdfbox/cos/COSInteger.html#get(long)"><code>get(long)</code></a> method instead</i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#COSInteger(java.lang.String)">COSInteger</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> val)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>use the static <a href="../../../../org/apache/pdfbox/cos/COSInteger.html#get(long)"><code>get(long)</code></a> method instead</i></div> +</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#accept(org.apache.pdfbox.cos.ICOSVisitor)">accept</a></strong>(<a href="../../../../org/apache/pdfbox/cos/ICOSVisitor.html" title="interface in org.apache.pdfbox.cos">ICOSVisitor</a> visitor)</code> +<div class="block">visitor pattern double dispatch method.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#doubleValue()">doubleValue</a></strong>()</code> +<div class="block">polymorphic access to value as float.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code></td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#floatValue()">floatValue</a></strong>()</code> +<div class="block">polymorphic access to value as float.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../org/apache/pdfbox/cos/COSInteger.html" title="class in org.apache.pdfbox.cos">COSInteger</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#get(long)">get</a></strong>(long val)</code> +<div class="block">Returns a COSInteger instance with the given value.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#hashCode()">hashCode</a></strong>()</code></td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#intValue()">intValue</a></strong>()</code> +<div class="block">Polymorphic access to value as int + This will get the integer value of this object.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#longValue()">longValue</a></strong>()</code> +<div class="block">Polymorphic access to value as int + This will get the integer value of this object.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#setValue(long)">setValue</a></strong>(long newValue)</code> +<div class="block">Change the value of this reference.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#toString()">toString</a></strong>()</code></td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/cos/COSInteger.html#writePDF(java.io.OutputStream)">writePDF</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> output)</code> +<div class="block">This will output this string as a PDF object.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_org.apache.pdfbox.cos.COSNumber"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.pdfbox.cos.<a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">COSNumber</a></h3> +<code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html#get(java.lang.String)">get</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_org.apache.pdfbox.cos.COSBase"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.pdfbox.cos.<a href="../../../../org/apache/pdfbox/cos/COSBase.html" title="class in org.apache.pdfbox.cos">COSBase</a></h3> +<code><a href="../../../../org/apache/pdfbox/cos/COSBase.html#getCOSObject()">getCOSObject</a>, <a href="../../../../org/apache/pdfbox/cos/COSBase.html#getFilterManager()">getFilterManager</a>, <a href="../../../../org/apache/pdfbox/cos/COSBase.html#isDirect()">isDirect</a>, <a href="../../../../org/apache/pdfbox/cos/COSBase.html#isNeedToBeUpdate()">isNeedToBeUpdate</a>, <a href="../../../../org/apache/pdfbox/cos/COSBase.html#setDirect(boolean)">setDirect</a>, <a href="../../../../org/apache/pdfbox/cos/COSBase.html#setNeedToBeUpdate(boolean)">setNeedToBeUpdate</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.orac le.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="ZERO"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>ZERO</h4> +<pre>public static final <a href="../../../../org/apache/pdfbox/cos/COSInteger.html" title="class in org.apache.pdfbox.cos">COSInteger</a> ZERO</pre> +<div class="block">Constant for the number zero.</div> +<dl><dt><span class="strong">Since:</span></dt> + <dd>Apache PDFBox 1.1.0</dd></dl> +</li> +</ul> +<a name="ONE"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>ONE</h4> +<pre>public static final <a href="../../../../org/apache/pdfbox/cos/COSInteger.html" title="class in org.apache.pdfbox.cos">COSInteger</a> ONE</pre> +<div class="block">Constant for the number one.</div> +<dl><dt><span class="strong">Since:</span></dt> + <dd>Apache PDFBox 1.1.0</dd></dl> +</li> +</ul> +<a name="TWO"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>TWO</h4> +<pre>public static final <a href="../../../../org/apache/pdfbox/cos/COSInteger.html" title="class in org.apache.pdfbox.cos">COSInteger</a> TWO</pre> +<div class="block">Constant for the number two.</div> +<dl><dt><span class="strong">Since:</span></dt> + <dd>Apache PDFBox 1.1.0</dd></dl> +</li> +</ul> +<a name="THREE"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>THREE</h4> +<pre>public static final <a href="../../../../org/apache/pdfbox/cos/COSInteger.html" title="class in org.apache.pdfbox.cos">COSInteger</a> THREE</pre> +<div class="block">Constant for the number three.</div> +<dl><dt><span class="strong">Since:</span></dt> + <dd>Apache PDFBox 1.1.0</dd></dl> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="COSInteger(long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>COSInteger</h4> +<pre>public COSInteger(long val)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>use the static <a href="../../../../org/apache/pdfbox/cos/COSInteger.html#get(long)"><code>get(long)</code></a> method instead</i></div> +<div class="block">constructor.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>val</code> - The integer value of this object.</dd></dl> +</li> +</ul> +<a name="COSInteger(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>COSInteger</h4> +<pre>public COSInteger(int val)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>use the static <a href="../../../../org/apache/pdfbox/cos/COSInteger.html#get(long)"><code>get(long)</code></a> method instead</i></div> +<div class="block">constructor.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>val</code> - The integer value of this object.</dd></dl> +</li> +</ul> +<a name="COSInteger(java.lang.String)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>COSInteger</h4> +<pre>public COSInteger(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> val) + throws <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="strong">Deprecated.</span> <i>use the static <a href="../../../../org/apache/pdfbox/cos/COSInteger.html#get(long)"><code>get(long)</code></a> method instead</i></div> +<div class="block">This will create a new PDF Int object using a string.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>val</code> - The string value of the integer.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If the val is not an integer type.</dd></dl> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="get(long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>get</h4> +<pre>public static <a href="../../../../org/apache/pdfbox/cos/COSInteger.html" title="class in org.apache.pdfbox.cos">COSInteger</a> get(long val)</pre> +<div class="block">Returns a COSInteger instance with the given value.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>val</code> - integer value</dd> +<dt><span class="strong">Returns:</span></dt><dd>COSInteger instance</dd></dl> +</li> +</ul> +<a name="equals(java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>equals</h4> +<pre>public boolean equals(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +</dl> +</li> +</ul> +<a name="hashCode()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hashCode</h4> +<pre>public int hashCode()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +</dl> +</li> +</ul> +<a name="toString()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toString</h4> +<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +</dl> +</li> +</ul> +<a name="setValue(long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setValue</h4> +<pre>public void setValue(long newValue)</pre> +<div class="block">Change the value of this reference.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>newValue</code> - The new value.</dd></dl> +</li> +</ul> +<a name="floatValue()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>floatValue</h4> +<pre>public float floatValue()</pre> +<div class="block">polymorphic access to value as float.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html#floatValue()">floatValue</a></code> in class <code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">COSNumber</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>The float value of this object.</dd></dl> +</li> +</ul> +<a name="doubleValue()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>doubleValue</h4> +<pre>public double doubleValue()</pre> +<div class="block">polymorphic access to value as float.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html#doubleValue()">doubleValue</a></code> in class <code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">COSNumber</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>The double value of this object.</dd></dl> +</li> +</ul> +<a name="intValue()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>intValue</h4> +<pre>public int intValue()</pre> +<div class="block">Polymorphic access to value as int + This will get the integer value of this object.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html#intValue()">intValue</a></code> in class <code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">COSNumber</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>The int value of this object,</dd></dl> +</li> +</ul> +<a name="longValue()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>longValue</h4> +<pre>public long longValue()</pre> +<div class="block">Polymorphic access to value as int + This will get the integer value of this object.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html#longValue()">longValue</a></code> in class <code><a href="../../../../org/apache/pdfbox/cos/COSNumber.html" title="class in org.apache.pdfbox.cos">COSNumber</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>The int value of this object,</dd></dl> +</li> +</ul> +<a name="accept(org.apache.pdfbox.cos.ICOSVisitor)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>accept</h4> +<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> accept(<a href="../../../../org/apache/pdfbox/cos/ICOSVisitor.html" title="interface in org.apache.pdfbox.cos">ICOSVisitor</a> visitor) + throws <a href="../../../../org/apache/pdfbox/exceptions/COSVisitorException.html" title="class in org.apache.pdfbox.exceptions">COSVisitorException</a></pre> +<div class="block">visitor pattern double dispatch method.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../org/apache/pdfbox/cos/COSBase.html#accept(org.apache.pdfbox.cos.ICOSVisitor)">accept</a></code> in class <code><a href="../../../../org/apache/pdfbox/cos/COSBase.html" title="class in org.apache.pdfbox.cos">COSBase</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>visitor</code> - The object to notify when visiting this object.</dd> +<dt><span class="strong">Returns:</span></dt><dd>any object, depending on the visitor implementation, or null</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../org/apache/pdfbox/exceptions/COSVisitorException.html" title="class in org.apache.pdfbox.exceptions">COSVisitorException</a></code> - If an error occurs while visiting this object.</dd></dl> +</li> +</ul> +<a name="writePDF(java.io.OutputStream)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>writePDF</h4> +<pre>public void writePDF(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> output) + throws <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">This will output this string as a PDF object.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>output</code> - The stream to write to.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If there is an error writing to the stream.</dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/COSInteger.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/pdfbox/cos/COSFloat.html" title="class in org.apache.pdfbox.cos"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/pdfbox/cos/COSName.html" title="class in org.apache.pdfbox.cos"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/pdfbox/cos/COSInteger.html" target="_top">Frames</a></li> +<li><a href="COSInteger.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2002-2016 <a href="http://pdfbox.apache.org">The Apache Software Foundation</a>. All Rights Reserved.</small></p> +</body> +</html>