| java.net.FileNameMap
All known Subclasses: sun.net.www.MimeTable,
FileNameMap | public interface FileNameMap (Code) | | A simple interface which provides a mechanism to map
between a file name and a MIME type string.
version: 1.11, 02/02/00 author: Steven B. Byrne since: JDK1.1 |
getContentTypeFor | public String getContentTypeFor(String fileName)(Code) | | Gets the MIME type for the specified file name.
Parameters: fileName - the specified file name a String indicating the MIMEtype for the specified file name. |
|
|