org.springframework.mock.web
Class MockServletContext.MimeTypeResolver

java.lang.Object
  extended by org.springframework.mock.web.MockServletContext.MimeTypeResolver
Enclosing class:
MockServletContext

private static class MockServletContext.MimeTypeResolver
extends java.lang.Object

Inner factory class used to just introduce a Java Activation Framework dependency when actually asked to resolve a MIME type.


Constructor Summary
private MockServletContext.MimeTypeResolver()
           
 
Method Summary
static java.lang.String getMimeType(java.lang.String filePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockServletContext.MimeTypeResolver

private MockServletContext.MimeTypeResolver()
Method Detail

getMimeType

public static java.lang.String getMimeType(java.lang.String filePath)