Oxygen XML Editor, Version 14.2

ro.sync.exml.plugin.urlstreamhandler
Interface LockHandlerFactoryPluginExtension

All Known Subinterfaces:
URLStreamHandlerWithLockPluginExtension
All Known Implementing Classes:
CustomProtocolURLHandlerExtension

@API(type=EXTENDABLE,
     src=PUBLIC)
public interface LockHandlerFactoryPluginExtension

Extension used for locking resources from a specific protocol

Since:
13.2

Method Summary
 LockHandler getLockHandler()
          Get the lock handler for the current handled protocol.
 boolean isLockingSupported(java.lang.String protocol)
          Check if a lock handler can be provided for a specific protocol.
 

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(java.lang.String protocol)
Check if a lock handler can be provided for a specific 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 14.2

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