Class MacFileUtils

java.lang.Object
com.sun.jna.platform.FileUtils
com.sun.jna.platform.mac.MacFileUtils

public class MacFileUtils extends FileUtils
  • Constructor Details

    • MacFileUtils

      public MacFileUtils()
  • Method Details

    • hasTrash

      public boolean hasTrash()
      Overrides:
      hasTrash in class FileUtils
    • moveToTrash

      public void moveToTrash(File... files) throws IOException
      Description copied from class: FileUtils
      Move the given file to the system trash, if one is available.
      Specified by:
      moveToTrash in class FileUtils
      Parameters:
      files - files to move
      Throws:
      IOException - on failure.