Class FdfReader

    • Field Detail

      • fields

        private java.util.HashMap fields
      • fileSpec

        private java.lang.String fileSpec
      • encoding

        private PdfName encoding
    • Constructor Detail

      • FdfReader

        FdfReader()
    • Method Detail

      • readPdf

        protected void readPdf()
                        throws java.io.IOException
        Overrides:
        readPdf in class PdfReader
        Throws:
        java.io.IOException
      • kidNode

        private void kidNode​(PdfDictionary merged,
                             java.lang.String name)
      • readFields

        private void readFields()
      • getFields

        public java.util.HashMap getFields()
        Gets all the fields. The map is keyed by the fully qualified field name and the value is a merged PdfDictionary with the field content.
        Returns:
        all the fields
      • getFieldValue

        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.
        Parameters:
        name - the fully qualified field name
        Returns:
        the field value or null
      • getFileSpec

        public java.lang.String getFileSpec()
        Gets the PDF file specification contained in the FDF.
        Returns:
        the PDF file specification contained in the FDF