java.net.FileNameMap
None
None
None
New as of JDK 1.1
The FileNameMap interface defines a method that maps filenames to MIME types. The interface is implemented by classes that provide this mapping. The mapping is typically done by examining the file extension of the filename, or in other words, the part of the filename that follows the final period.
public abstract interface java.net.FileNameMap { // Methods public abstract String getContentTypeFor(String fileName); }
A String that contains a filename.
The String that contains the MIME type that corresponds to the filename.
This method attempts to determine the MIME type of a file by examining its filename.
ContentHandler, ContentHandlerFactory
This HTML Help has been published using the chm2web software. |