|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface MimeUtility
Method Summary | |
---|---|
java.util.List
|
getKnownMimeTypes()
Gets the known configured MimeType instances |
MimeType
|
getMimeTypeForExtension(java.lang.String extension)
Obtains a MimeType for the given extension |
MimeType
|
getMimeTypeForURI(java.lang.String uri)
Obtains a MimeType for the given extension |
Method Detail |
---|
public java.util.List getKnownMimeTypes()
public MimeType getMimeTypeForExtension(java.lang.String extension)
extension
- The extension
public MimeType getMimeTypeForURI(java.lang.String uri)
uri
- The URI to use
Groovy Documentation