API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.activation. FileTypeMap View Source
Author(s)
Since
1.6
Version
Serial
Hierarchy
 Object
      FileTypeMap
Implements
Subclasses
Description
publicabstract abstract class FileTypeMap
  The FileTypeMap is an abstract class that provides a data typing interface for files.
Constructors
public FileTypeMap ()
The default constructor.
Methods
Hide/Show inherited methods
publicabstract String getContentType (File file)
  Return the type of the file object.
publicabstract String getContentType (String filename)
  Return the type of the file passed in.
publicstatic FileTypeMap getDefaultFileTypeMap ()
  Return the default FileTypeMap for the system.
publicstatic void setDefaultFileTypeMap (FileTypeMap map)
  Sets the default FileTypeMap for the system.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar