public interface MimeTypes
MimetypesFileTypeMap
class.Modifier and Type | Method and Description |
---|---|
String |
getContentType(String name)
Calculate the mime type for the given file.
|
Set<String> |
getKnownMimeTypes()
Enumerate the known mime types.
|