Hi Jens,
In this thread, they suggest a lot of ways
Programmers Lounge: How to read a file MIME Type in Java
But since most of the suggestions are getting the mime type from the http header, your best bet is to use Apache Tikia. I would like to try that one out before posting, but I do not have time at the moment ![]()
Regards,
Mark