public class GeneralURLStreamHandlerFactory
extends java.lang.Object
implements java.net.URLStreamHandlerFactory
| Modifier and Type | Method and Description |
|---|---|
java.net.URLStreamHandler |
createURLStreamHandler(java.lang.String protocol)
Creates a new GeneralURLStreamHandler object.
|
static GeneralURLStreamHandlerFactory |
getInstance()
Gets the single instance of GeneralURLStreamHandlerFactory.
|
void |
registerProtocol(java.lang.String protocol,
java.net.URLStreamHandler handler)
Register protocol.
|
public java.net.URLStreamHandler createURLStreamHandler(java.lang.String protocol)
createURLStreamHandler in interface java.net.URLStreamHandlerFactoryprotocol - the protocolpublic static GeneralURLStreamHandlerFactory getInstance()
public void registerProtocol(java.lang.String protocol,
java.net.URLStreamHandler handler)
protocol - the protocolhandler - the handlerCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa