Interface FileManager.Fallback

Enclosing class:
FileManager
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface FileManager.Fallback
The second way: ask the desktop. file is null when a folder is to be shown. @return whether it worked
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    show(Path dir, Path file)
    Shows the folder, with the file selected when there is one.
  • Method Details

    • show

      boolean show(Path dir, Path file)
      Shows the folder, with the file selected when there is one.
      Parameters:
      file - the file to select, or null to show the folder
      Returns:
      whether it worked