Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-59

Include parser class name in Metadata object.

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 0.1-incubating
    • 0.1-incubating
    • general
    • None

    Description

      It would be helpful to know which parser was used to parse a given document. Some convenience methods eliminate the need for the user to make that determination, so in that case there would be no way to know which parser was used.

      This feature could be helpful in testing and debugging, both for ourselves and for users.

      The class name could either be an entry in the Map (a property), or an instance variable.

      If the Parser ever becomes an abstract class, the act of setting this value could be done in the abstract class constructor, eliminating the need for parser implementations to deal with this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kbennett Keith Bennett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: