org.eclipse.ecf.provider.filetransfer.browse
Class URLFileSystemBrowser

java.lang.Object
  extended by org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser
      extended by org.eclipse.ecf.provider.filetransfer.browse.URLFileSystemBrowser

public class URLFileSystemBrowser
extends AbstractFileSystemBrowser


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser
AbstractFileSystemBrowser.DirectoryJob, AbstractFileSystemBrowser.RemoteFileSystemRequest
 
Field Summary
protected  java.lang.String password
           
protected  java.lang.String username
           
 
Fields inherited from class org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser
connectContext, directoryOrFile, fileID, job, listener, proxy, remoteFiles
 
Constructor Summary
URLFileSystemBrowser(IFileID directoryOrFileID, IRemoteFileSystemListener listener, java.net.URL directoryOrFileURL, IConnectContext connectContext, Proxy proxy)
           
 
Method Summary
protected  void runRequest()
          Run the actual request.
protected  void setupAuthentication()
           
protected  void setupProxy(Proxy proxy2)
           
 
Methods inherited from class org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser
cancel, cleanUp, createRemoteFileEvent, createRemoteFileSystemRequest, getException, isCanceled, newUserCancelledException, selectProxyFromProxies, sendBrowseRequest, setCanceled, setException, setupProxies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

username

protected java.lang.String username

password

protected java.lang.String password
Constructor Detail

URLFileSystemBrowser

public URLFileSystemBrowser(IFileID directoryOrFileID,
                            IRemoteFileSystemListener listener,
                            java.net.URL directoryOrFileURL,
                            IConnectContext connectContext,
                            Proxy proxy)
Parameters:
directoryOrFileID -
listener -
Method Detail

runRequest

protected void runRequest()
                   throws java.lang.Exception
Description copied from class: AbstractFileSystemBrowser
Run the actual request. This method is called within the job created to actually get the directory or file information.

Specified by:
runRequest in class AbstractFileSystemBrowser
Throws:
java.lang.Exception - if some problem with making the request or receiving response to the request.

setupAuthentication

protected void setupAuthentication()
                            throws java.io.IOException,
                                   UnsupportedCallbackException
Throws:
java.io.IOException
UnsupportedCallbackException

setupProxy

protected void setupProxy(Proxy proxy2)
Specified by:
setupProxy in class AbstractFileSystemBrowser