Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.net
Interface FileNameMap  view FileNameMap download FileNameMap.java

All Known Implementing Classes:
MimeTypeMapper

public interface FileNameMap

This interface has one method which, when passed a filename, returns the MIME type associated with that filename.

Since:
1.1

Method Summary
 java.lang.String getContentTypeFor(java.lang.String filename)
          This method is passed a filename and is responsible for determining the appropriate MIME type for that file.
 

Method Detail

getContentTypeFor

public java.lang.String getContentTypeFor(java.lang.String filename)
This method is passed a filename and is responsible for determining the appropriate MIME type for that file.