com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class DocumentData



  • public final class DocumentData
    extends Object

    Provides extracted data of the document.

    • Constructor Detail

      • DocumentData

        public DocumentData()

        Initializes a new instance of the DocumentData class.

    • Method Detail

      • getCount

        public int getCount()

        Gets a total number of the data fields.

        Returns:
        An integer value that represents the total number of the data fields.
      • get_Item

        public DocumentDataField get_Item(int index)

        Gets a data field.

        Parameters:
        index - A zero-based index of the data field.
        Returns:
        An instance of DocumentDataField.
      • getDataFieldsByName

        public List<DocumentDataField> getDataFieldsByName(String fieldName)

        Gets a collection of the data fields which name is fieldName.

        Parameters:
        fieldName - The name of the data field.
        Returns:
        A collection of the data fields which name is fieldName.
      • addDataField

        public void addDataField(DocumentDataField dataField)

        Adds a data field.

        Parameters:
        dataField - A data field to add.
      • addDataFields

        public void addDataFields(List<DocumentDataField> dataFields)

        Adds a collection of data fields.

        Parameters:
        dataFields - A collection of data fields to add.
      • getDataTables

        public List<DocumentDataTable> getDataTables()

        Gets a collection of the data tables.

        Returns:
        A read-only collection of the data tables.
      • addDataTable

        public void addDataTable(DocumentDataTable dataTable)

        Adds a data table.

        Parameters:
        dataTable - A data table to add.