Package ro.sync.net.protocol
Class OxygenURLStreamHandlerFactory
java.lang.Object
ro.sync.net.protocol.OxygenURLStreamHandlerFactory
- All Implemented Interfaces:
URLStreamHandlerFactory
@API(type=NOT_EXTENDABLE,
src=PRIVATE)
public class OxygenURLStreamHandlerFactory
extends Object
implements URLStreamHandlerFactory
The URLStreamHandlerFactory that handles all the protocols supported by
Oxygen.
It handles both builtin protocols and plugin-contributed ones.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.OxygenURLStreamHandlerFactory
(URLStreamHandlerFactory extraFactory) An extra factory which can be used to resolve extra protocols. -
Method Summary
Modifier and TypeMethodDescriptioncreateURLStreamHandler
(String protocol) Returns the list of built-in protocol names.
-
Constructor Details
-
OxygenURLStreamHandlerFactory
public OxygenURLStreamHandlerFactory()Constructor. -
OxygenURLStreamHandlerFactory
An extra factory which can be used to resolve extra protocols.- Parameters:
extraFactory
- An extra factory which can be used to resolve extra protocols.
-
-
Method Details
-
getBuiltinProtocols
Returns the list of built-in protocol names.- Returns:
- The list of built-in protocol names.
-
createURLStreamHandler
- Specified by:
createURLStreamHandler
in interfaceURLStreamHandlerFactory
- See Also:
-