Ok, here's a concrete path that could be taken:

1) Move tika-config.xml from the default package to org.apache.tika.

2) Create a no-args constructor on TikaConfig that uses a single shared
instance of the default configuration object created with the above
tika-config.xml.  (These objects are immutable, so this should be threadsafe
(right?).)

3) Add ParseUtils methods that do not require a TikaConfig object.  This
would require doubling the number of methods, but I'm willing to write them
if you're willing to include them.

If you like, I can do this and submit a patch.

- Keith

-- 
View this message in context: 
http://www.nabble.com/Providing-a-Default-Tika-Configuration-tf4510478.html#a12869536
Sent from the Apache Tika - Development mailing list archive at Nabble.com.

Reply via email to