org.springframework.mock.web.portlet
Class MockPortletContext.MimeTypeResolver

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

private static class MockPortletContext.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 MockPortletContext.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

MockPortletContext.MimeTypeResolver

private MockPortletContext.MimeTypeResolver()
Method Detail

getMimeType

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