java.net
public interface FileNameMap
Since: 1.1
Method Summary | |
---|---|
String | getContentTypeFor(String filename)
This method is passed a filename and is responsible for determining
the appropriate MIME type for that file.
|
Parameters: filename The name of the file to generate a MIME type for.
Returns: The MIME type for the filename passed in.