Java Platform 1.2
Interface FileNameMap

public abstract interface FileNameMap

A simple interface which provides a mechanism to map between between a file name and a MIME type string.


Method Summary
 String getContentTypeFor(String fileName)

Method Detail


public String getContentTypeFor(String fileName)

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.