Class Trash

java.lang.Object
io.github.jbastgen.stemma.app.io.Trash

public final class Trash extends Object
Moves a file to the operating system's trash instead of deleting it, where there is one.
  • Method Details

    • move

      public static boolean move(Path file)
      Returns:
      whether the file is in the trash now; false when the system has none (the file is then still there)