java.net
Interface FileNameMap
java.lang.Object
|
+--java.net.FileNameMap
public interface FileNameMap
This interface has one method which, when passed a filename, returns
the MIME type associated with that filename.
Since:Authors:- Aaron M. Renn (arenn@urbanophile.com)
- Warren Levy <warrenl@cygnus.com>
getContentTypeFor
public String getContentTypeFor(java.lang.String filename)
This method is passed a filename and is responsible for determining
the appropriate MIME type for that file.
Parameters:
Returns:
- The MIME type for the filename passed in.