|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.web.mime.DefaultMimeUtility
public class DefaultMimeUtility extends java.lang.Object
Constructor Summary | |
DefaultMimeUtility(MimeType[] mimeTypes)
|
|
DefaultMimeUtility(java.util.List mimeTypes)
|
Method Summary | |
---|---|
java.util.List
|
getKnownMimeTypes()
{@inheritDoc} |
MimeType
|
getMimeTypeForExtension(java.lang.String extension)
{@inheritDoc} |
MimeType
|
getMimeTypeForURI(java.lang.String uri)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public DefaultMimeUtility(MimeType[] mimeTypes)
public DefaultMimeUtility(java.util.List mimeTypes)
Method Detail |
---|
public java.util.List getKnownMimeTypes()
public MimeType getMimeTypeForExtension(java.lang.String extension)
public MimeType getMimeTypeForURI(java.lang.String uri)
Groovy Documentation