aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/net/FileNameMap.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-05-25 11:40:19 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-05-25 11:40:19 +0000
commitc7684ffe55c75b893fe40988dbb8fcea9beae3ba (patch)
tree88ef0760e764ef489e276334b8e20f71e9f96390 /libjava/java/net/FileNameMap.java
parenteceea3010ff9d19a48d650e5dccb7105d66adbd2 (diff)
downloadgcc-c7684ffe55c75b893fe40988dbb8fcea9beae3ba.zip
gcc-c7684ffe55c75b893fe40988dbb8fcea9beae3ba.tar.gz
gcc-c7684ffe55c75b893fe40988dbb8fcea9beae3ba.tar.bz2
PushbackInputStream.java, [...]: Merged new versions from classpath.
2003-05-25 Michael Koch <konqueror@gmx.de> * java/io/PushbackInputStream.java, java/net/Authenticator.java, java/net/ContentHandler.java, java/net/ContentHandlerFactory.java, java/net/DatagramSocket.java, java/net/DatagramSocketImpl.java, java/net/DatagramSocketImplFactory.java, java/net/FileNameMap.java, java/net/SocketImplFactory.java, java/net/SocketOptions.java, java/net/URLStreamHandlerFactory.java: Merged new versions from classpath. From-SVN: r67165
Diffstat (limited to 'libjava/java/net/FileNameMap.java')
-rw-r--r--libjava/java/net/FileNameMap.java21
1 files changed, 10 insertions, 11 deletions
diff --git a/libjava/java/net/FileNameMap.java b/libjava/java/net/FileNameMap.java
index 538dbe8..b4f9e19 100644
--- a/libjava/java/net/FileNameMap.java
+++ b/libjava/java/net/FileNameMap.java
@@ -1,5 +1,5 @@
/* FileNameMap.java -- Maps filenames to MIME types
- Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -54,16 +54,15 @@ package java.net;
*/
public interface FileNameMap
{
-/**
- * This method is passed a filename and is responsible for determining
- * the appropriate MIME type for that file.
- *
- * @param filename The name of the file to generate a MIME type for.
- *
- * @return The MIME type for the filename passed in.
- */
-String
-getContentTypeFor(String filename);
+ /**
+ * This method is passed a filename and is responsible for determining
+ * the appropriate MIME type for that file.
+ *
+ * @param filename The name of the file to generate a MIME type for.
+ *
+ * @return The MIME type for the filename passed in.
+ */
+ public String getContentTypeFor(String filename);
} // interface FileNameMap