FileDocCategorySizeDatePackage
FileNameMap.javaAPI DocJava SE 5 API689Fri Aug 26 14:57:08 BST 2005java.net

FileNameMap

public interface FileNameMap
A simple interface which provides a mechanism to map between a file name and a MIME type string.
version
1.14, 12/19/03
author
Steven B. Byrne
since
JDK1.1

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetContentTypeFor(java.lang.String fileName)
Gets the MIME type for the specified file name.

param
fileName the specified file name
return
a String indicating the MIME type for the specified file name.