public interface java.net
FileNameMap


Show All Login
Java SE 6
  
Details
A simple interface which provides a mechanism to map between a file name and a MIME type string.
version1.15, 11/17/05
sinceJDK1.1

Properties
public String getContentTypeFor(String fileName) Details
Gets the MIME type for the specified file name.
fileNamethe specified file name
returna String indicating the MIME type for the specified file name.