public final class MimeTypes extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getExtension(String mimeType)
Guesses a extension from a MIME type.
|
static String |
getMIMEType(File file)
Returns the MIME type for a file.
|
static String |
getMIMEType(String ext)
Returns the MIME type for file extension.
|
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.