/[classpath]/classpath/java/net/URLStreamHandlerFactory.java
ViewVC logotype

Diff of /classpath/java/net/URLStreamHandlerFactory.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by mark, Tue Jan 22 22:27:00 2002 UTC revision 1.9 by arenn, Sat May 24 03:59:33 2003 UTC
# Line 1  Line 1 
1  /* URLStreamHandlerFactory.java -- Maps protocols to URLStreamHandlers  /* URLStreamHandlerFactory.java -- Maps protocols to URLStreamHandlers
2     Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 46  package java.net; Line 46  package java.net;
46  /**  /**
47   * This interface contains one method which maps the protocol portion of   * This interface contains one method which maps the protocol portion of
48   * a URL (eg, "http" in "http://www.urbanophile.com/arenn/") to a   * a URL (eg, "http" in "http://www.urbanophile.com/arenn/") to a
49   * URLStreamHandler object.   * <code>URLStreamHandler</code> object.
50   *   *
51   * @author Aaron M. Renn (arenn@urbanophile.com)   * @author Aaron M. Renn (arenn@urbanophile.com)
52   * @author Warren Levy <warrenl@cygnus.com>   * @author Warren Levy <warrenl@cygnus.com>
53   */   */
54  public interface URLStreamHandlerFactory  public interface URLStreamHandlerFactory
55  {  {
56  /**    /**
57    * This method maps the protocol portion of a URL to a URLStreamHandler      * This method maps the protocol portion of a URL to a
58    * object.      * <code>URLStreamHandler</code> object.
59    *      *
60    * @param protocol The protocol name to map ("http", "ftp", etc).      * @param protocol The protocol name to map ("http", "ftp", etc).
61    *      *
62    * @return The URLStreamHandler for the specified protocol      * @return The <code>URLStreamHandler</code> for the specified protocol
63    */      */
64  URLStreamHandler    public URLStreamHandler createURLStreamHandler(String protocol);
 createURLStreamHandler(String protocol);  
65    
66  } // interface URLStreamHandlerFactory  } // interface URLStreamHandlerFactory
67    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26