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
This commit is contained in:
parent
eceea3010f
commit
c7684ffe55
12 changed files with 386 additions and 393 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue