Class FileBrowser


  • public class FileBrowser
    extends Object
    Allows to launch the OS-specific file browser.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Field Detail

      • LOGGER

        protected static Logger LOGGER
    • Constructor Detail

      • FileBrowser

        public FileBrowser()
    • 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