Package adams.core.management
Class FileBrowser
- java.lang.Object
-
- adams.core.management.FileBrowser
-
public class FileBrowser extends Object
Allows to launch the OS-specific file browser.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description FileBrowser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
launch()
Launches the file browser with the user's home directory.static boolean
launch(File dir)
Launches the file browser with the specified directory.
-
-
-
Field Detail
-
LOGGER
protected static Logger LOGGER
-
-
Method Detail
-
launch
public static boolean launch()
Launches the file browser with the user's home directory.- Returns:
- true if successfully launched
-
launch
public static boolean launch(File dir)
Launches the file browser with the specified directory.- Parameters:
dir
- the directory to launch with- Returns:
- true if successfully launched
-
-