|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProtocolRegistrationStrategy
A strategy that registers all custom URL protocols in a standard way.
| Method Summary | |
|---|---|
URLStreamHandler |
getURLStreamHandler(String protocol)
Finds the registered URLStreamHandler for a given protocol. |
void |
registerProtocolHandler(String protocol,
URLStreamHandler handler)
Registers a URLStreamHandler for the given protocol. |
| Method Detail |
|---|
void registerProtocolHandler(String protocol,
URLStreamHandler handler)
protocol - The protocol to be registered.handler - The URLStreamHandler instance which should be
used for URLs whose protocol is protocol.URLStreamHandler getURLStreamHandler(String protocol)
protocol - The protocol for which a URLStreamHandler is desired.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||