Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.net

Interface FileNameMap

java.lang.Object
|
+--java.net.FileNameMap


public interface FileNameMap

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

Since:Authors:

Method Summary

java.lang.StringgetContentTypeFor(java.lang.String filename)

This method is passed a filename and is responsible for determining the appropriate MIME type for that file.

Method Details

getContentTypeFor

public String getContentTypeFor(java.lang.String filename)

This method is passed a filename and is responsible for determining the appropriate MIME type for that file.

Parameters:

Returns: