summaryrefslogtreecommitdiffstats
path: root/libjava/java/net/ContentHandlerFactory.java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-25 11:40:19 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-25 11:40:19 +0000
commita25a41b522146ecf74b1694411c5cb8ee4c0062a (patch)
tree88ef0760e764ef489e276334b8e20f71e9f96390 /libjava/java/net/ContentHandlerFactory.java
parentc0f9df171338117e37e4a45a4b5f1089c6ab3f48 (diff)
downloadppe42-gcc-a25a41b522146ecf74b1694411c5cb8ee4c0062a.tar.gz
ppe42-gcc-a25a41b522146ecf74b1694411c5cb8ee4c0062a.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67165 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/net/ContentHandlerFactory.java')
-rw-r--r--libjava/java/net/ContentHandlerFactory.java27
1 files changed, 13 insertions, 14 deletions
diff --git a/libjava/java/net/ContentHandlerFactory.java b/libjava/java/net/ContentHandlerFactory.java
index d954f9ad440..04fa3f11945 100644
--- a/libjava/java/net/ContentHandlerFactory.java
+++ b/libjava/java/net/ContentHandlerFactory.java
@@ -1,5 +1,5 @@
/* ContentHandlerFactory.java -- Interface for creating content handlers
- 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.
@@ -45,25 +45,24 @@ package java.net;
*/
/**
- * This interface maps MIME types to ContentHandler objects. It consists
- * of one method that, when passed a MIME type, returns a handler for that
- * type.
+ * This interface maps MIME types to <code>ContentHandler</code> objects.
+ * It consists of one method that, when passed a MIME type, returns a
+ * handler for that type.
*
* @author Aaron M. Renn (arenn@urbanophile.com)
* @author Warren Levy <warrenl@cygnus.com>
*/
public interface ContentHandlerFactory
{
-/**
- * This method is passed a MIME type as a string and is responsible for
- * returning the appropriate ContentType object.
- *
- * @param mime_type The MIME type to map to a ContentHandler
- *
- * @return The ContentHandler for the passed in MIME type
- */
-ContentHandler
-createContentHandler(String mime_type);
+ /**
+ * This method is passed a MIME type as a string and is responsible for
+ * returning the appropriate <code>ContentHandler</code> object.
+ *
+ * @param mimeType The MIME type to map to a <code>ContentHandler</code>
+ *
+ * @return The <code>ContentHandler</code> for the passed in MIME type
+ */
+ public ContentHandler createContentHandler(String mimeType);
} // interface ContentHandlerFactory
OpenPOWER on IntegriCloud