Eric van der Vlist wrote:
I don't know how accurate it is, but there is the sun.net.www.MimeTable class. I am using it in the ArchiveConverter on which I am working.
This may not be portable across JVMs though (thinking about IBMs, JRockit).
But looking at the JDK code, I see that this appears to be used is URLConnection.getFileNameMap(), so you could use a portable API to access it.
So if I understand well this appears based on a configuration file.
-Erik
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ orbeon-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/orbeon-user
