[ https://issues.apache.org/jira/browse/TIKA-626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13013653#comment-13013653 ]
Nick Burch commented on TIKA-626: --------------------------------- Or AbstractParser? The idea seems good to me though! > Add a BaseParser class > ---------------------- > > Key: TIKA-626 > URL: https://issues.apache.org/jira/browse/TIKA-626 > Project: Tika > Issue Type: Improvement > Components: parser > Reporter: Jukka Zitting > Assignee: Jukka Zitting > Priority: Minor > > The deprecated parse() method in the Parser interface causes quite a few > repetitive method declarations in all parser classes, so to simplify things > I'd like to introduce a BaseParser class that provides reasonable default > implementations of all Parser methods and can be used as the base class of > any Parser implementation. It would be analogous to the DefaultHandler class > in SAX, and would also make it easier for us to introduce new Parser methods > if needed later on without necessarily breaking too many existing Parser > classes. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira