/[classpath]/classpath/java/net/FileNameMap.java
ViewVC logotype

Diff of /classpath/java/net/FileNameMap.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by mkoch, Tue Aug 27 17:48:05 2002 UTC revision 1.10 by arenn, Sat May 24 03:59:33 2003 UTC
# Line 1  Line 1 
1  /* FileNameMap.java -- Maps filenames to MIME types  /* FileNameMap.java -- Maps filenames to MIME types
2     Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 54  package java.net; Line 54  package java.net;
54    */    */
55  public interface FileNameMap  public interface FileNameMap
56  {  {
57  /**    /**
58    * This method is passed a filename and is responsible for determining      * This method is passed a filename and is responsible for determining
59    * the appropriate MIME type for that file.      * the appropriate MIME type for that file.
60    *      *
61    * @param filename The name of the file to generate a MIME type for.      * @param filename The name of the file to generate a MIME type for.
62    *      *
63    * @return The MIME type for the filename passed in.      * @return The MIME type for the filename passed in.
64    */      */
65  String    public String getContentTypeFor(String filename);
 getContentTypeFor(String filename);  
66    
67  } // interface FileNameMap  } // interface FileNameMap
68    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26