|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ecf.provider.filetransfer.browse.MultiProtocolFileSystemBrowserAdapter
public class MultiProtocolFileSystemBrowserAdapter
Multi protocol handler for remote file system browser.
| Constructor Summary | |
|---|---|
MultiProtocolFileSystemBrowserAdapter()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getAdapter(java.lang.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). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiProtocolFileSystemBrowserAdapter()
| Method Detail |
|---|
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
IRemoteFileSystemBrowserContainerAdapter
sendBrowseRequest 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.
RemoteFileSystemExceptionpublic java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||