Oxygen XML Editor, Version 14.2

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.


Field Summary
 
Fields inherited from interface ro.sync.exml.plugin.urlstreamhandler.URLStreamHandlerPluginExtensionConstants
ADVICE_CLOSE, ADVICE_RELOAD, LOCATION_HEADER, OXYGEN_ACTION_HEADER
 
Method Summary
 java.net.URLStreamHandler getURLStreamHandler(java.lang.String protocol)
          Get the URL handler for the specified protocol.
 

Method Detail

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.

Oxygen XML Editor, Version 14.2

© Copyright Syncro Soft SRL 2002 - 2013. All rights reserved.