public class SRemoteFileChooser extends 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. not hidden) files.
|
static IFuture<FileData> |
getHomeDirectory(IExternalAccess access) |
static IFuture<FileData> |
getParentDirectory(IExternalAccess access,
String path)
Returns the parent directory of
dir . |
static IFuture<FileData[]> |
getRoots(IExternalAccess access)
Returns all root partitions on this system.
|
static IFuture<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<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, String path)
dir
.dir
- the File
being querieddir
, or null
if
dir
is null
Copyright © 2013. All Rights Reserved.