Package jadex.base
Class SRemoteFileChooser
- java.lang.Object
- 
- jadex.base.SRemoteFileChooser
 
- 
 public class SRemoteFileChooser extends java.lang.ObjectHelper methods for remote file system view.
- 
- 
Constructor SummaryConstructors Constructor Description SRemoteFileChooser()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method 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 ofdir.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.
 
- 
- 
- 
Method Detail- 
initpublic 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.
 - 
getRootspublic static IFuture<FileData[]> getRoots(IExternalAccess access) Returns all root partitions on this system. For example, on Windows, this would be the "Desktop" folder, while on DOS this would be the A: through Z: drives.
 - 
getHomeDirectorypublic static IFuture<FileData> getHomeDirectory(IExternalAccess access) 
 - 
getCurrentDirectorypublic static IFuture<FileData> getCurrentDirectory(IExternalAccess access) Get the current directory of the remote VM.
 - 
getDefaultDirectorypublic static IFuture<FileData> getDefaultDirectory(IExternalAccess access) Return the user's default starting directory for the file chooser.- Returns:
- a Fileobject representing the default starting folder
- Since:
- 1.4
 
 - 
getFilespublic static IFuture<FileData[]> getFiles(IExternalAccess access, FileData mydir, boolean useFileHiding) Gets the list of shown (i.e. not hidden) files.
 - 
getParentDirectorypublic static IFuture<FileData> getParentDirectory(IExternalAccess access, java.lang.String path) Returns the parent directory ofdir.- Parameters:
- dir- the- Filebeing queried
- Returns:
- the parent directory of dir, ornullifdirisnull
 
 
- 
 
-