java.lang.Object | +--javax.activation.FileTypeMapKnown Direct Subclasses:
String | getContentType(File file) Returns the content type of the specified file. |
String | getContentType(String filename) Returns the content type of the specified file path. |
static FileTypeMap | Returns the system default file type map. |
static void | setDefaultFileTypeMap(FileTypeMap map) Sets the default file type map. |
public String getContentType(File file)
public String getContentType(String filename)
public static FileTypeMap getDefaultFileTypeMap()
public static void setDefaultFileTypeMap(FileTypeMap map)