I am trying to use tika detectors to detect file mime types in my project. 
Since I need to handle some rare mime types, the abilities and easiness to add 
custom mime types are important to me. Is it possible to let tika use an 
external tika-mimetypes.xml so that I don't need to recompile tika-app.jar 
every time a mime type is added?
I am able to use MimetypesFactory to create MimeTypes instance based on 
external mimetypes.xml, but MimeTypes only use MagicNumberDetector instead of 
all available detectors like DefaultDetector does? I prefer a way to use all 
detectors like DefaultDetector does and still be able to link to an external 
mimetypes.xml.
Your help is greatly appreciated
Regards,George                                    

Reply via email to