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