|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lowagie.text.pdf.PdfReader
com.lowagie.text.pdf.FdfReader
public class FdfReader
Reads an FDF form and makes the fields available
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.lowagie.text.pdf.PdfReader |
|---|
PdfReader.PageRefs |
| Field Summary | |
|---|---|
(package private) PdfName |
encoding
|
(package private) java.util.HashMap |
fields
|
(package private) java.lang.String |
fileSpec
|
| Fields inherited from class com.lowagie.text.pdf.PdfReader |
|---|
acroForm, acroFormParsed, catalog, certificate, certificateKey, certificateKeyProvider, consolidateNamedDestinations, decrypt, encrypted, endobj, endstream, eofPos, freeXref, lastXref, newXrefType, objStmMark, objStmToOffset, pageInhCandidates, pageRefs, password, pdfVersion, pValue, rebuilt, rootPages, rValue, sharedStreams, strings, tampered, tokens, trailer, xref |
| Constructor Summary | |
|---|---|
FdfReader(byte[] pdfIn)
Reads an FDF form. |
|
FdfReader(java.io.InputStream is)
Reads an FDF form. |
|
FdfReader(java.lang.String filename)
Reads an FDF form. |
|
FdfReader(java.net.URL url)
Reads an FDF form. |
|
| Method Summary | |
|---|---|
PdfDictionary |
getField(java.lang.String name)
Gets the field dictionary. |
java.util.HashMap |
getFields()
Gets all the fields. |
java.lang.String |
getFieldValue(java.lang.String name)
Gets the field value or null if the field does not
exist or has no value defined. |
java.lang.String |
getFileSpec()
Gets the PDF file specification contained in the FDF. |
protected void |
kidNode(PdfDictionary merged,
java.lang.String name)
|
protected void |
readFields()
|
protected void |
readPdf()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.util.HashMap fields
java.lang.String fileSpec
PdfName encoding
| Constructor Detail |
|---|
public FdfReader(java.lang.String filename)
throws java.io.IOException
filename - the file name of the form
java.io.IOException - on error
public FdfReader(byte[] pdfIn)
throws java.io.IOException
pdfIn - the byte array with the form
java.io.IOException - on error
public FdfReader(java.net.URL url)
throws java.io.IOException
url - the URL of the document
java.io.IOException - on error
public FdfReader(java.io.InputStream is)
throws java.io.IOException
is - the InputStream containing the document. The stream is read to the
end but is not closed
java.io.IOException - on error| Method Detail |
|---|
protected void readPdf()
throws java.io.IOException
readPdf in class PdfReaderjava.io.IOException
protected void kidNode(PdfDictionary merged,
java.lang.String name)
protected void readFields()
public java.util.HashMap getFields()
PdfDictionary
with the field content.
public PdfDictionary getField(java.lang.String name)
name - the fully qualified field name
public java.lang.String getFieldValue(java.lang.String name)
null if the field does not
exist or has no value defined.
name - the fully qualified field name
nullpublic java.lang.String getFileSpec()
|
Hosted by Hostbasket | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||