Thanks Nick. I was able to address all my other issues, except for this:
>> For the missing JAR part > Set your Load Error Handler to Warn or Error to find out about parsers with missing classes or dependencies This won't do. What's happening now is if I give Tika a JAR file to parse, it is throwing NoClassDefFoundError exception (see my original posting). Is there a way for me to know that Tika doesn't have the parser for this type and thus I will not bother to parse it? Steve On Fri, Feb 5, 2016 at 4:38 PM, Nick Burch <[email protected]> wrote: > On Fri, 5 Feb 2016, Steven White wrote: > >> How do I detect if a file type is supported or not? >> > > Run the detection only. If you get anything other than > application/octet-stream back, Tika was able to detect it > > Also, how do I detect if a file type is supported but it cannot be >> processed because the parser for it is missing (the required JARs are >> missing)? >> > > Ask Tika what mime types it has parsers for. If it isn't one of those, no > parser exists. > > See the troubleshooting guide for ways to do that from code, the webapp, > the app etc > > For the missing JAR part >> > > Set your Load Error Handler to Warn or Error to find out about parsers > with missing classes or dependencies > > Nick >
