[
https://issues.apache.org/jira/browse/TIKA-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534544
]
Jukka Zitting commented on TIKA-59:
-----------------------------------
I think such diagnostic information is best handled with logging, and if we do
have good cases where having the information is useful, then I think we have a
good case of using logging within Tika.
> Include parser class name in Metadata object.
> ---------------------------------------------
>
> Key: TIKA-59
> URL: https://issues.apache.org/jira/browse/TIKA-59
> Project: Tika
> Issue Type: Wish
> Components: general
> Affects Versions: 0.1-incubator
> Reporter: Keith R. Bennett
> Priority: Minor
> Fix For: 0.1-incubator
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.