diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-25 11:40:19 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-25 11:40:19 +0000 |
commit | a25a41b522146ecf74b1694411c5cb8ee4c0062a (patch) | |
tree | 88ef0760e764ef489e276334b8e20f71e9f96390 /libjava/java/net/URLStreamHandlerFactory.java | |
parent | c0f9df171338117e37e4a45a4b5f1089c6ab3f48 (diff) | |
download | ppe42-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/URLStreamHandlerFactory.java')
-rw-r--r-- | libjava/java/net/URLStreamHandlerFactory.java | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/libjava/java/net/URLStreamHandlerFactory.java b/libjava/java/net/URLStreamHandlerFactory.java index 1e67d1d37b7..a9ecbad8f06 100644 --- a/libjava/java/net/URLStreamHandlerFactory.java +++ b/libjava/java/net/URLStreamHandlerFactory.java @@ -1,5 +1,5 @@ /* URLStreamHandlerFactory.java -- Maps protocols to URLStreamHandlers - 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. @@ -46,23 +46,22 @@ package java.net; /** * This interface contains one method which maps the protocol portion of * a URL (eg, "http" in "http://www.urbanophile.com/arenn/") to a - * URLStreamHandler object. + * <code>URLStreamHandler</code> object. * * @author Aaron M. Renn (arenn@urbanophile.com) * @author Warren Levy <warrenl@cygnus.com> */ public interface URLStreamHandlerFactory { -/** - * This method maps the protocol portion of a URL to a URLStreamHandler - * object. - * - * @param protocol The protocol name to map ("http", "ftp", etc). - * - * @return The URLStreamHandler for the specified protocol - */ -URLStreamHandler -createURLStreamHandler(String protocol); + /** + * This method maps the protocol portion of a URL to a + * <code>URLStreamHandler</code> object. + * + * @param protocol The protocol name to map ("http", "ftp", etc). + * + * @return The <code>URLStreamHandler</code> for the specified protocol + */ + public URLStreamHandler createURLStreamHandler(String protocol); } // interface URLStreamHandlerFactory |