java.net
public interface URLStreamHandlerFactory
URLStreamHandler
object.
Method Summary | |
---|---|
URLStreamHandler | createURLStreamHandler(String protocol)
This method maps the protocol portion of a URL to a
URLStreamHandler object.
|
URLStreamHandler
object.
Parameters: protocol The protocol name to map ("http", "ftp", etc).
Returns: The URLStreamHandler
for the specified protocol