|
||||||||||
| 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
Reads an FDF form and makes the fields available
| Field Summary | |
(package private) HashMap |
fields
|
(package private) String |
fileSpec
|
| Fields inherited from class com.lowagie.text.pdf.PdfReader |
acroForm, acroFormParsed, catalog, consolidateNamedDestinations, decrypt, encrypted, endobj, endstream, eofPos, freeXref, lastXref, pageInh, pageInhCandidates, pageRefs, pages, pagesCount, password, pdfVersion, pValue, rebuilt, rValue, sharedStreams, strings, tampered, tokens, trailer, xref, xrefObj |
| Constructor Summary | |
FdfReader(byte[] pdfIn)
Reads an FDF form. |
|
FdfReader(String filename)
Reads an FDF form. |
|
FdfReader(URL url)
Reads an FDF form. |
|
| Method Summary | |
PdfDictionary |
getField(String name)
Gets the field dictionary. |
HashMap |
getFields()
Gets all the fields. |
String |
getFieldValue(String name)
Gets the field value or null if the field does not
exist or has no value defined. |
String |
getFileSpec()
Gets the PDF file specification contained in the FDF. |
protected void |
kidNode(PdfDictionary merged,
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 |
HashMap fields
String fileSpec
| Constructor Detail |
public FdfReader(String filename)
throws IOException
filename - the file name of the form
IOException - on error
public FdfReader(byte[] pdfIn)
throws IOException
pdfIn - the byte array with the form
IOException - on error
public FdfReader(URL url)
throws IOException
url - the URL of the document
IOException - on error| Method Detail |
protected void readPdf()
throws IOException
readPdf in class PdfReaderIOException
protected void kidNode(PdfDictionary merged,
String name)
protected void readFields()
throws IOException
IOExceptionpublic HashMap getFields()
PdfDictionary
with the field content.
public PdfDictionary getField(String name)
name - the fully qualified field name
public String getFieldValue(String name)
null if the field does not
exist or has no value defined.
name - the fully qualified field name
nullpublic String getFileSpec()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||