⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fdfwriter.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="HEADER_FDF"><!-- --></A><H3>HEADER_FDF</H3><PRE>private static final byte[] <B>HEADER_FDF</B></PRE><DL><DL></DL></DL><HR><A NAME="fields"><!-- --></A><H3>fields</H3><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A> <B>fields</B></PRE><DL><DL></DL></DL><HR><A NAME="file"><!-- --></A><H3>file</H3><PRE>private <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>file</B></PRE><DL><DD>The PDF file associated with the FDF.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="FdfWriter()"><!-- --></A><H3>FdfWriter</H3><PRE>public <B>FdfWriter</B>()</PRE><DL><DD>Creates a new FdfWriter.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="writeTo(java.io.OutputStream)"><!-- --></A><H3>writeTo</H3><PRE>public void <B>writeTo</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A>&nbsp;os)             throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Writes the content to a stream.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>os</CODE> - the stream<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - on error</DL></DD></DL><HR><A NAME="setField(java.lang.String, com.lowagie.text.pdf.PdfObject)"><!-- --></A><H3>setField</H3><PRE>boolean <B>setField</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;field,                 <A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A>&nbsp;value)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="iterateFields(java.util.HashMap, java.util.HashMap, java.lang.String)"><!-- --></A><H3>iterateFields</H3><PRE>void <B>iterateFields</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A>&nbsp;values,                   <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A>&nbsp;map,                   <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="removeField(java.lang.String)"><!-- --></A><H3>removeField</H3><PRE>public boolean <B>removeField</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;field)</PRE><DL><DD>Removes the field value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>field</CODE> - the field name<DT><B>Returns:</B><DD><CODE>true</CODE> if the field was found and removed, <CODE>false</CODE> otherwise</DL></DD></DL><HR><A NAME="getFields()"><!-- --></A><H3>getFields</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A> <B>getFields</B>()</PRE><DL><DD>Gets all the fields. The map is keyed by the fully qualified field name and the values are <CODE>PdfObject</CODE>.<P><DD><DL><DT><B>Returns:</B><DD>a map with all the fields</DL></DD></DL><HR><A NAME="getField(java.lang.String)"><!-- --></A><H3>getField</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getField</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;field)</PRE><DL><DD>Gets the field value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>field</CODE> - the field name<DT><B>Returns:</B><DD>the field value or <CODE>null</CODE> if not found</DL></DD></DL><HR><A NAME="setFieldAsName(java.lang.String, java.lang.String)"><!-- --></A><H3>setFieldAsName</H3><PRE>public boolean <B>setFieldAsName</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;field,                              <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;value)</PRE><DL><DD>Sets the field value as a name.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>field</CODE> - the fully qualified field name<DD><CODE>value</CODE> - the value<DT><B>Returns:</B><DD><CODE>true</CODE> if the value was inserted, <CODE>false</CODE> if the name is incompatible with an existing field</DL></DD></DL><HR><A NAME="setFieldAsString(java.lang.String, java.lang.String)"><!-- --></A><H3>setFieldAsString</H3><PRE>public boolean <B>setFieldAsString</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;field,                                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;value)</PRE><DL><DD>Sets the field value as a string.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>field</CODE> - the fully qualified field name<DD><CODE>value</CODE> - the value<DT><B>Returns:</B><DD><CODE>true</CODE> if the value was inserted, <CODE>false</CODE> if the name is incompatible with an existing field</DL></DD></DL><HR><A NAME="setFields(com.lowagie.text.pdf.FdfReader)"><!-- --></A><H3>setFields</H3><PRE>public void <B>setFields</B>(<A HREF="../../../../com/lowagie/text/pdf/FdfReader.html" title="class in com.lowagie.text.pdf">FdfReader</A>&nbsp;fdf)</PRE><DL><DD>Sets all the fields from this <CODE>FdfReader</CODE><P><DD><DL><DT><B>Parameters:</B><DD><CODE>fdf</CODE> - the <CODE>FdfReader</CODE></DL></DD></DL><HR><A NAME="setFields(com.lowagie.text.pdf.PdfReader)"><!-- --></A><H3>setFields</H3><PRE>public void <B>setFields</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfReader.html" title="class in com.lowagie.text.pdf">PdfReader</A>&nbsp;pdf)</PRE><DL><DD>Sets all the fields from this <CODE>PdfReader</CODE><P><DD><DL><DT><B>Parameters:</B><DD><CODE>pdf</CODE> - the <CODE>PdfReader</CODE></DL></DD></DL><HR><A NAME="setFields(com.lowagie.text.pdf.AcroFields)"><!-- --></A><H3>setFields</H3><PRE>public void <B>setFields</B>(<A HREF="../../../../com/lowagie/text/pdf/AcroFields.html" title="class in com.lowagie.text.pdf">AcroFields</A>&nbsp;af)</PRE><DL><DD>Sets all the fields from this <CODE>AcroFields</CODE><P><DD><DL><DT><B>Parameters:</B><DD><CODE>af</CODE> - the <CODE>AcroFields</CODE></DL></DD></DL><HR><A NAME="getFile()"><!-- --></A><H3>getFile</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getFile</B>()</PRE><DL><DD>Gets the PDF file name associated with the FDF.<P><DD><DL><DT><B>Returns:</B><DD>the PDF file name associated with the FDF</DL></DD></DL><HR><A NAME="setFile(java.lang.String)"><!-- --></A><H3>setFile</H3><PRE>public void <B>setFile</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;file)</PRE><DL><DD>Sets the PDF file name associated with the FDF.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>file</CODE> - the PDF file name associated with the FDF</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../com/lowagie/text/pdf/FdfReader.html" title="class in com.lowagie.text.pdf"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../com/lowagie/text/pdf/FdfWriter.Wrt.html" title="class in com.lowagie.text.pdf"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?com/lowagie/text/pdf/FdfWriter.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="FdfWriter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -