|
From: Matt S. <sga...@us...> - 2005-03-03 18:39:53
|
The mime type support in Spring is based on the mime type support in the Java Activation Framework. There are plans to add additional MIME types to Spring. See: http://opensource.atlassian.com/projects/spring/browse/SPR-637 Does this answer your question? Matt Andy Depue wrote: > I'm wondering if there are any plans on adding some kind of mime type to > org.springframework.core.io.Resource? If I load a resource whose type I > don't know in advance, I currently have no way to tell what type it is other > than parsing the file name for an extension or attempting to deduce it from > the InputStream (not fun). > > Thanks, > Andy > > > ------------------------------------------------------- > 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 |