ro.sync.exml.plugin.urlstreamhandler
Interface URLStreamHandlerPluginExtension
- All Superinterfaces:
- PluginExtension, URLStreamHandlerPluginExtensionConstants
- All Known Subinterfaces:
- URLStreamHandlerWithLockPluginExtension
- All Known Implementing Classes:
- CustomProtocolURLHandlerExtension
@API(type=EXTENDABLE,
src=PUBLIC)
public interface URLStreamHandlerPluginExtension
- extends PluginExtension, URLStreamHandlerPluginExtensionConstants
This URL stream handler provides the possibility to impose the URL stream
handlers for specific protocols.
This plugin extension can provide URL stream handlers for multiple protocols, other than
then ones handled by the application (like file
, http
,
ftp
, sftp
or https
).
If it is necessary to impose the application stream URL handlers for
specific URLs with protocols like:http
, https
,
ftp
or sftp
,
the TargetedURLStreamHandlerPluginExtension
can be used.
Method Summary |
java.net.URLStreamHandler |
getURLStreamHandler(java.lang.String protocol)
Get the URL handler for the specified protocol. |
getURLStreamHandler
java.net.URLStreamHandler getURLStreamHandler(java.lang.String protocol)
- Get the URL handler for the specified protocol.
- Parameters:
protocol
- The name of the protocol.
- Returns:
- The handler for the protocol or
null
if it does not know it.
© Copyright Syncro Soft SRL 2002 - 2013. All rights reserved.