FileNameMapNameFileNameMapSynopsis
DescriptionThe 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. Interface Declaration
public abstract interface java.net.FileNameMap { // Methods public abstract String getContentTypeFor(String fileName); } MethodsgetContentTypeForpublic abstract String getContentTypeFor(String fileName)
See AlsoContentHandler, ContentHandlerFactory |
|