Oxygen XML Editor, Version ${standalone-version-number}

ro.sync.exml.plugin.urlstreamhandler
Interface URLStreamHandlerWithLockPluginExtension

All Superinterfaces:
PluginExtension, URLStreamHandlerPluginExtension
All Known Implementing Classes:
CustomProtocolURLHandlerExtension

public interface URLStreamHandlerWithLockPluginExtension
extends URLStreamHandlerPluginExtension

An URLStreamHandler with lock support plugin extension.


Field Summary
 
Fields inherited from interface ro.sync.exml.plugin.urlstreamhandler.URLStreamHandlerPluginExtension
ADVICE_CLOSE, ADVICE_RELOAD, LOCATION_HEADER, OXYGEN_ACTION_HEADER
 
Method Summary
 LockHandler getLockHandler()
          Get the lock handler for the current handled protocol.
 boolean isLockingSupported(String protocol)
          Check if we can return a lock handler for this protocol.
 
Methods inherited from interface ro.sync.exml.plugin.urlstreamhandler.URLStreamHandlerPluginExtension
getURLStreamHandler
 

Method Detail

getLockHandler

LockHandler getLockHandler()
Get the lock handler for the current handled protocol. Might be null if not supported.

Returns:
The lock handler for this extension, or null if not supported.

isLockingSupported

boolean isLockingSupported(String protocol)
Check if we can return a lock handler for this protocol.

Parameters:
protocol - The URL protocol (like "http" or "file")
Returns:
true if this extension can return a lock handler for the protocol.

Oxygen XML Editor, Version ${standalone-version-number}

© Copyright Syncro Soft SRL 2002 - 2010.