OSDN Git Service

* All files: Updated copyright to reflect Cygnus purchase.
[pf3gnuchains/gcc-fork.git] / libjava / java / net / FileNameMap.java
1 // FileNameMap.java - Abstract interface to map from a File Name to MIME type.
2
3 /* Copyright (C) 1999  Red Hat, Inc.
4
5    This file is part of libgcj.
6
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
9 details.  */
10
11 package java.net;
12
13 /**
14  * @author Warren Levy <warrenl@cygnus.com>
15  * @date March 5, 1999.
16  */
17
18 /**
19  * Written using on-line Java Platform 1.2 API Specification, as well
20  * as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998).
21  * Status:  Believed complete and correct.
22  */
23
24 public abstract interface FileNameMap
25 {
26   public String getContentTypeFor(String fileName);
27 }