Top Description Methods
java.net

public Interface FileNameMap

Known Direct Implementers
sun.net.www.MimeTable

A simple interface which provides a mechanism to map between a file name and a MIME type string.
Author
Steven B. Byrne
Since
1.1

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

a String indicating the MIME type for the specified file name.
getContentTypeFor
(String
the specified file name
fileName
)

Gets the MIME type for the specified file name.

Method Detail

getContentTypeForback to summary
public String getContentTypeFor(String fileName)

Gets the MIME type for the specified file name.

Parameters
fileName:String

the specified file name

Returns:String

a String indicating the MIME type for the specified file name.