java.net
Interface URLStreamHandlerFactory
java.lang.Object
|
+--java.net.URLStreamHandlerFactory
public interface URLStreamHandlerFactory
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.
Authors:- Aaron M. Renn (arenn@urbanophile.com)
- Warren Levy <warrenl@cygnus.com>
createURLStreamHandler
public URLStreamHandler createURLStreamHandler(java.lang.String protocol)
This method maps the protocol portion of a URL to a URLStreamHandler
object.
Parameters:
Returns:
- The URLStreamHandler for the specified protocol