Class TextFileChooser

    • Constructor Detail

      • TextFileChooser

        public TextFileChooser()
        Constructs a TextFileChooser pointing to the user's default directory. This default depends on the operating system. It is typically the "My Documents" folder on Windows, and the user's home directory on Unix.
      • TextFileChooser

        public TextFileChooser​(String currentDirectoryPath)
        Constructs a TextFileChooser using the given path. Passing in a null string causes the file chooser to point to the user's default directory. This default depends on the operating system. It is typically the "My Documents" folder on Windows, and the user's home directory on Unix.
        Parameters:
        currentDirectoryPath - a String giving the path to a file or directory
      • TextFileChooser

        public TextFileChooser​(File currentDirectory)
        Constructs a TextFileChooser using the given File as the path. Passing in a null file causes the file chooser to point to the user's default directory. This default depends on the operating system. It is typically the "My Documents" folder on Windows, and the user's home directory on Unix.
        Parameters:
        currentDirectory - a File object specifying the path to a file or directory