|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.commons.vfs.protocols.DefaultURISchemeHandlerFactory
public class DefaultURISchemeHandlerFactory
This class provides the default factory for URI scheme handlers.
You can override this implementation to add support for your own custom schemes.
| Constructor Summary | |
|---|---|
DefaultURISchemeHandlerFactory(VFS v)
Constructs a new URI scheme handler with the specified VFS. |
|
| Method Summary | |
|---|---|
URISchemeHandler |
createURISchemeHandler(java.lang.String scheme)
Returns a URISchemeHandler for the specified scheme. |
URISchemeHandler |
getURISchemeHandler(java.lang.String scheme)
Returns a URISchemeHandler for the specified scheme. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultURISchemeHandlerFactory(VFS v)
v - the VFS for handlers created with this factory| Method Detail |
|---|
public URISchemeHandler createURISchemeHandler(java.lang.String scheme)
URISchemeHandlerFactory
createURISchemeHandler in interface URISchemeHandlerFactoryscheme - the scheme
null if there isn't oneURISchemeHandlerFactory.createURISchemeHandler(java.lang.String)public URISchemeHandler getURISchemeHandler(java.lang.String scheme)
URISchemeHandlerFactorycreateURISchemeHandler in that it will generate an
alert if no handler is available.
getURISchemeHandler in interface URISchemeHandlerFactoryscheme - the scheme
URISchemeHandlerFactory.getURISchemeHandler(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||