| Contents | Package | Class | Tree | Deprecated | Index | Help | |||
| PREV | NEXT | SHOW LISTS | HIDE LISTS | ||
java.lang.Object
|
+----javax.activation.FileTypeMap
| Constructor Summary | |
| FileTypeMap()
|
|
| Method Summary | |
| java.lang.String | getContentType(java.io.File file)
|
| java.lang.String | getContentType(java.lang.String filename)
|
| static FileTypeMap | getDefaultFileTypeMap()
|
| static void | setDefaultFileTypeMap(FileTypeMap map)
|
| Methods inherited from class java.lang.Object |
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileTypeMap()
| Method Detail |
public abstract java.lang.String getContentType(java.io.File file)
f
- A file to be typed.
public abstract java.lang.String getContentType(java.lang.String filename)
filename
- the pathname of the file.
public static void setDefaultFileTypeMap(FileTypeMap map)
map
- The FileTypeMap.
public static FileTypeMap getDefaultFileTypeMap()
| Contents | Package | Class | Tree | Deprecated | Index | Help | |||
| PREV | NEXT | SHOW LISTS | HIDE LISTS | ||