Class LocalFileSystemBrowser
- java.lang.Object
-
- org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser
-
- org.eclipse.ecf.provider.filetransfer.browse.LocalFileSystemBrowser
-
public class LocalFileSystemBrowser extends AbstractFileSystemBrowser
A class for asynchronously browsing aFile-based filesystem.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser
AbstractFileSystemBrowser.DirectoryJob, AbstractFileSystemBrowser.RemoteFileSystemRequest
-
-
Field Summary
Fields Modifier and Type Field Description protected Filelocal-
Fields inherited from class org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser
connectContext, directoryOrFile, fileID, job, listener, proxy, remoteFiles
-
-
Constructor Summary
Constructors Constructor Description LocalFileSystemBrowser(IFileID directoryID2, IRemoteFileSystemListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidrunRequest()Run the actual request.protected voidsetupProxy(Proxy proxy)-
Methods inherited from class org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser
cancel, cleanUp, createRemoteFileEvent, createRemoteFileSystemRequest, getException, isCanceled, newUserCancelledException, selectProxyFromProxies, sendBrowseRequest, setCanceled, setException, setupProxies
-
-
-
-
Field Detail
-
local
protected File local
-
-
Constructor Detail
-
LocalFileSystemBrowser
public LocalFileSystemBrowser(IFileID directoryID2, IRemoteFileSystemListener listener) throws RemoteFileSystemException
- Parameters:
listener- listenerdirectoryID2- remote directory- Throws:
RemoteFileSystemException- if some problem
-
-
Method Detail
-
runRequest
protected void runRequest() throws ExceptionDescription copied from class:AbstractFileSystemBrowserRun the actual request. This method is called within the job created to actually get the directory or file information.- Specified by:
runRequestin classAbstractFileSystemBrowser- Throws:
Exception- if some problem with making the request or receiving response to the request.
-
setupProxy
protected void setupProxy(Proxy proxy)
- Specified by:
setupProxyin classAbstractFileSystemBrowser
-
-