public class URLFileSystemBrowser extends AbstractFileSystemBrowser
AbstractFileSystemBrowser.DirectoryJob, AbstractFileSystemBrowser.RemoteFileSystemRequest
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
password |
protected java.lang.String |
username |
connectContext, directoryOrFile, fileID, job, listener, proxy, remoteFiles
Constructor and Description |
---|
URLFileSystemBrowser(IFileID directoryOrFileID,
IRemoteFileSystemListener listener,
java.net.URL directoryOrFileURL,
IConnectContext connectContext,
Proxy proxy) |
Modifier and Type | Method and Description |
---|---|
protected void |
runRequest()
Run the actual request.
|
protected void |
setupAuthentication() |
protected void |
setupProxy(Proxy proxy2) |
cancel, cleanUp, createRemoteFileEvent, createRemoteFileSystemRequest, getException, isCanceled, newUserCancelledException, selectProxyFromProxies, sendBrowseRequest, setCanceled, setException, setupProxies
protected java.lang.String username
protected java.lang.String password
public URLFileSystemBrowser(IFileID directoryOrFileID, IRemoteFileSystemListener listener, java.net.URL directoryOrFileURL, IConnectContext connectContext, Proxy proxy)
directoryOrFileID
- directory or file idlistener
- listenerdirectoryOrFileURL
- directory or file urlconnectContext
- connect contextproxy
- proxyprotected void runRequest() throws java.lang.Exception
AbstractFileSystemBrowser
runRequest
in class AbstractFileSystemBrowser
java.lang.Exception
- if some problem with making the request or receiving response to the request.protected void setupAuthentication() throws java.io.IOException, UnsupportedCallbackException
java.io.IOException
UnsupportedCallbackException
protected void setupProxy(Proxy proxy2)
setupProxy
in class AbstractFileSystemBrowser