|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ocd.streamhandler.URLStreamManager
Method Summary | |
void |
addProtocolHandler(java.lang.String protocol,
java.net.URLStreamHandler handler)
Add a URLStreamHandler for the specifed Protocol. |
java.net.URLStreamHandler |
createURLStreamHandler(java.lang.String protocol)
Create a URLStreamHandler for the specified protocol |
static URLStreamManager |
getDefaultManager()
Get the DefaultStream Manager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static URLStreamManager getDefaultManager()
public void addProtocolHandler(java.lang.String protocol, java.net.URLStreamHandler handler) throws ProtocolSetException
protocol
- to add a handler forhandler
- is the Handler that will manage the protocolProtocolAddException
- if the protocol already has a handler definedpublic java.net.URLStreamHandler createURLStreamHandler(java.lang.String protocol)
createURLStreamHandler
in interface java.net.URLStreamHandlerFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |