public class SRemoteFileChooser
extends java.lang.Object
Constructor and Description |
---|
SRemoteFileChooser() |
Modifier and Type | Method and Description |
---|---|
static IFuture<FileData> |
getCurrentDirectory(IExternalAccess access)
Get the current directory of the remote VM.
|
static IFuture<FileData> |
getDefaultDirectory(IExternalAccess access)
Return the user's default starting directory for the file chooser.
|
static IFuture<FileData[]> |
getFiles(IExternalAccess access,
FileData mydir,
boolean useFileHiding)
Gets the list of shown (i.e.
|
static IFuture<FileData> |
getHomeDirectory(IExternalAccess access) |
static IFuture<FileData> |
getParentDirectory(IExternalAccess access,
java.lang.String path)
Returns the parent directory of
dir . |
static IFuture<FileData[]> |
getRoots(IExternalAccess access)
Returns all root partitions on this system.
|
static IFuture<java.lang.Object[]> |
init(IExternalAccess access)
Initialize the remote file system view such that
home, default and current directory as well as roots
are available.
|
public static IFuture<java.lang.Object[]> init(IExternalAccess access)
public static IFuture<FileData[]> getRoots(IExternalAccess access)
public static IFuture<FileData> getHomeDirectory(IExternalAccess access)
public static IFuture<FileData> getCurrentDirectory(IExternalAccess access)
public static IFuture<FileData> getDefaultDirectory(IExternalAccess access)
File
object representing the default starting
folderpublic static IFuture<FileData[]> getFiles(IExternalAccess access, FileData mydir, boolean useFileHiding)
public static IFuture<FileData> getParentDirectory(IExternalAccess access, java.lang.String path)
dir
.dir
- the File
being querieddir
, or null
if
dir
is null