public class MultiProtocolFileSystemBrowserAdapter extends Object implements IRemoteFileSystemBrowser
| Constructor and Description |
|---|
MultiProtocolFileSystemBrowserAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAdapter(Class adapter) |
Namespace |
getBrowseNamespace()
Get the
Namespace instance for creating IFileIDs that represent remote files or directories. |
IRemoteFileSystemRequest |
sendBrowseRequest(IFileID directoryOrFileID,
IRemoteFileSystemListener listener)
Send a request for file or directory information for given directoryOrFileID.
|
void |
setConnectContextForAuthentication(IConnectContext connectContext)
Set connect context for authentication upon subsequent
IRemoteFileSystemBrowserContainerAdapter.sendBrowseRequest(IFileID, IRemoteFileSystemListener). |
void |
setProxy(Proxy proxy)
Set proxy for use upon subsequent
IRemoteFileSystemBrowserContainerAdapter.sendBrowseRequest(IFileID, IRemoteFileSystemListener). |
public MultiProtocolFileSystemBrowserAdapter()
public void setConnectContextForAuthentication(IConnectContext connectContext)
IRemoteFileSystemBrowserContainerAdapterIRemoteFileSystemBrowserContainerAdapter.sendBrowseRequest(IFileID, IRemoteFileSystemListener). This
method should be called with a non-null connectContext in order to allow
authentication to occur during call to
IRemoteFileSystemBrowserContainerAdapter.sendBrowseRequest(IFileID, IRemoteFileSystemListener).setConnectContextForAuthentication in interface IRemoteFileSystemBrowserContainerAdapterconnectContext - the connect context to use for authenticating during
subsequent call to
IRemoteFileSystemBrowserContainerAdapter.sendBrowseRequest(IFileID, IRemoteFileSystemListener).
If null, then no authentication will be
attempted.public void setProxy(Proxy proxy)
IRemoteFileSystemBrowserContainerAdapterIRemoteFileSystemBrowserContainerAdapter.sendBrowseRequest(IFileID, IRemoteFileSystemListener). This
method should be called with a non-null proxy to allow the given proxy to
be used in subsequent calls to
IRemoteFileSystemBrowserContainerAdapter.sendBrowseRequest(IFileID, IRemoteFileSystemListener).setProxy in interface IRemoteFileSystemBrowserContainerAdapterproxy - the proxy to use for subsequent calls to
IRemoteFileSystemBrowserContainerAdapter.sendBrowseRequest(IFileID, IRemoteFileSystemListener).
If null, then no proxy will be used.public Namespace getBrowseNamespace()
IRemoteFileSystemBrowserContainerAdapterNamespace instance for creating IFileIDs that represent remote files or directories.getBrowseNamespace in interface IRemoteFileSystemBrowserContainerAdapternull.public IRemoteFileSystemRequest sendBrowseRequest(IFileID directoryOrFileID, IRemoteFileSystemListener listener) throws RemoteFileSystemException
IRemoteFileSystemBrowserContainerAdaptersendBrowseRequest in interface IRemoteFileSystemBrowserContainerAdapterdirectoryOrFileID - the IFileID representing/specifying the remote directory or file to access.listener - the listener that will be notified asynchronously when a response to this request is received. Must not be
null.RemoteFileSystemException - if browse request cannot be accomplishedCopyright © 2004–2020 Eclipse Foundation. All rights reserved.