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.
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.
© Copyright Syncro Soft SRL 2002 - 2010.