On Sun, 24 Jul 2011, Jakub Liska wrote:
currently it is only possibly to getExtension from MimeType. But there
is no way of getting MimeType from already detected MediaType, to get
the file extension.

Start with your TikaConfig, and call getMimeRepository() to get the MimeTypes. From there you should be able to lookup the MimeType for a MediaType

Nick

Reply via email to