[
https://issues.apache.org/jira/browse/TIKA-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keith R. Bennett updated TIKA-34:
---------------------------------
Attachment: tika-34-20071001.patch
The attached patch adds a getDefaultConfig() method to Utils, plus some
supporting methods and test code.
The tika-config.xml file is moved from src/test/resources
src/test/resources/org/apache/tika.
While I was there, I fixed a few lines in TestParsers whose lengths were > 80.
(I am giving the new patch a different name so the old patch remains available
in case that should be necessary.)
> Provide a method that will return a default configuration (TikaConfig).
> -----------------------------------------------------------------------
>
> Key: TIKA-34
> URL: https://issues.apache.org/jira/browse/TIKA-34
> Project: Tika
> Issue Type: New Feature
> Components: general
> Affects Versions: 0.1-incubator
> Reporter: Keith R. Bennett
> Assignee: Chris A. Mattmann
> Priority: Minor
> Fix For: 0.1-incubator
>
> Attachments: tika-34-20071001.patch, tika-34.patch
>
>
> Although a default configuration is available, one must explicitly specify
> its location and open a stream from that location.
> It would be helpful to have a method that returns the default configuration,
> parsed and ready to use, so that the users can be insulated from the
> implementation of how and where we store it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.