public class FdfReader extends PdfReader
| Modifier and Type | Field and Description | 
|---|---|
protected static Counter |  
           COUNTER  |  
          
acroForm, acroFormParsed, catalog, certificate, certificateKey, certificateKeyProvider, consolidateNamedDestinations, debugmode, decrypt, encrypted, eofPos, externalDecryptionProcess, freeXref, lastXref, newXrefType, objStmMark, objStmToOffset, pageRefs, password, pdfVersion, pValue, rebuilt, remoteToLocalNamedDestinations, rValue, sharedStreams, strings, tampered, tokens, trailer, unethicalreading, xref, xrefObj| Constructor and Description | 
|---|
FdfReader(byte[] pdfIn) 
            
              Reads an FDF form. 
               |  
          
FdfReader(InputStream is) 
            
              Reads an FDF form. 
               |  
          
FdfReader(String filename) 
            
              Reads an FDF form. 
               |  
          
FdfReader(URL url) 
            
              Reads an FDF form. 
               |  
          
| Modifier and Type | Method and Description | 
|---|---|
byte[] |  
           getAttachedFile(String name) 
            
              Gets a byte[] containing a file that is embedded in the FDF. 
               |  
          
protected Counter |  
           getCounter()  |  
          
PdfDictionary |  
           getField(String name) 
            
              Gets the field dictionary. 
               |  
          
HashMap<String,PdfDictionary> |  
           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() 
            
              Parses the entire PDF 
               |  
          
addPdfObject, addViewerPreference, ASCII85Decode, ASCIIHexDecode, close, computeUserPassword, consolidateNamedDestinations, createFakeFontSubsets, decodeBytes, decodeBytes, decodePredictor, dumpPerc, duplicatePdfDictionary, duplicatePdfObject, eliminateSharedStreams, FlateDecode, FlateDecode, getAcroFields, getAcroForm, getBoxSize, getCatalog, getCertificationLevel, getCropBox, getCryptoMode, getEofPos, getFileLength, getInfo, getJavaScript, getJavaScript, getLastXref, getLinks, getMetadata, getNamedDestination, getNamedDestination, getNamedDestinationFromNames, getNamedDestinationFromNames, getNamedDestinationFromStrings, getNormalizedRectangle, getNumberOfPages, getPageContent, getPageContent, getPageContent, getPageN, getPageNRelease, getPageOrigRef, getPageResources, getPageResources, getPageRotation, getPageSize, getPageSize, getPageSizeWithRotation, getPageSizeWithRotation, getPdfObject, getPdfObject, getPdfObject, getPdfObjectRelease, getPdfObjectRelease, getPdfObjectRelease, getPdfReaderInstance, getPdfVersion, getPermissions, getSafeFile, getSimpleViewerPreferences, getStreamBytes, getStreamBytes, getStreamBytesRaw, getStreamBytesRaw, getTrailer, getXrefSize, hasUsageRights, is128Key, isAppendable, isEncrypted, isHybridXref, isMetadataEncrypted, isNewXrefType, isOpenedWithFullPermissions, isRebuilt, isTagged, isTampered, killIndirect, killXref, LZWDecode, makeRemoteNamedDestinationsLocal, readArray, readDictionary, readDocObj, readDocObjPartial, readObjStm, readOneObjStm, readPages, readPdfPartial, readPRObject, readSingleObject, readXref, readXrefSection, readXRefStream, rebuildXref, releaseLastXrefPartial, releaseLastXrefPartial, releasePage, removeAnnotations, removeFields, removeUnusedNode, removeUnusedObjects, removeUsageRights, resetLastXrefPartial, resetReleasePage, selectPages, selectPages, selectPages, setAppendable, setPageContent, setPageContent, setPageContent, setTampered, setViewerPreferences, setViewerPreferences, shuffleSubsetNamesprotected static Counter COUNTER
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 
           public FdfReader(InputStream is) throws IOException
is - the InputStream containing the document. The stream is read to the end but is not closed 
           IOException - on error 
           protected Counter getCounter()
getCounter in class PdfReader 
           protected void readPdf()
                throws IOException 
          PdfReader 
          readPdf in class PdfReader 
           IOException 
           protected void kidNode(PdfDictionary merged, String name)
protected void readFields()
public HashMap<String,PdfDictionary> getFields()
PdfDictionary with the field content. 
          public PdfDictionary getField(String name)
name - the fully qualified field name 
           public byte[] getAttachedFile(String name) throws IOException
name - the fully qualified field name 
           IOException 
           public String getFieldValue(String name)
null if the field does not exist or has no value defined. 
          name - the fully qualified field name 
           null 
           public String getFileSpec()
Copyright © 1998–2019. All rights reserved.