Klasse FileUtils

java.lang.Object
com.sun.jna.platform.FileUtils
Bekannte direkte Unterklassen:
MacFileUtils, W32FileUtils

public abstract class FileUtils extends Object
Miscellaneous file utils not provided for by Java.
  • Konstruktordetails

    • FileUtils

      public FileUtils()
  • Methodendetails

    • hasTrash

      public boolean hasTrash()
    • moveToTrash

      public abstract void moveToTrash(File... files) throws IOException
      Move the given file to the system trash, if one is available.
      Parameter:
      files - files to move
      Löst aus:
      IOException - on failure.
    • getInstance

      public static FileUtils getInstance()