On Thu, 10 Feb 2022, Willy T. Koch wrote:
As for content detection, today the content-type field with mime type is returned. What we would need is a mime-type to file extension lookup and it seems logical that this was also returned by Tika.

How are you calling Tika? We already have APIs for this. Just ask the MimeTypes class (available via TikaConfig.getMimeRepository) about a type, and it'll return the details including the preferred extension and other possible well-known extensions

Nick

Reply via email to