java.net.URLStreamHandlerFactory |
Defines a factory which creates an URLStreamHandler
for a specified
protocol. It is used by the class URL
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
URLStreamHandler instance for the given protocol .
|
Creates a new URLStreamHandler
instance for the given protocol
.
Parameters | |
---|---|
protocol |
String :
the protocol for which a handler is needed. |
Returns | |
---|---|
URLStreamHandler |
the created handler. |