wt.clients.util.http
Class BrowseHTTPUploadDownload
java.lang.Object
wt.clients.util.http.BrowseHTTPUploadDownload
- public final class BrowseHTTPUploadDownload
- extends Object
An UploadDownload view used to browse for an individual file.
Supported API:false
Extendable:false
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
frame
private Frame frame
uploadDownload
private HTTPUploadDownload uploadDownload
fileIndex
private int fileIndex
PREF_KEY_WORKSPACEPATH
private String PREF_KEY_WORKSPACEPATH
fileAccess
private FileAccess fileAccess
downloadPreferences
private WTPreferences downloadPreferences
defaultPath
private String defaultPath
BrowseHTTPUploadDownload
public BrowseHTTPUploadDownload(Frame frame,
HTTPUploadDownload uploadDownload)
BrowseHTTPUploadDownload
public BrowseHTTPUploadDownload(Frame frame,
HTTPUploadDownload uploadDownload,
int fileIndex)
show
public void show(boolean blocking)
- Browse local file system. The file name that is located will be
used for the pending upload or download. The result of this browse
will become the first or primary file.
getFileAccess
private FileAccess getFileAccess()
createValidDefaultPath
public String createValidDefaultPath(String path)
getPreferenceValue
private String getPreferenceValue(String key,
String defaultValue)
getDownloadPreferences
private WTPreferences getDownloadPreferences()
retrievePreferences
private WTPreferences retrievePreferences(String node)
isDirectory
public boolean isDirectory(String path)
getDefaultPath
public String getDefaultPath()
setDefaultPath
public void setDefaultPath(String newPath)