Package com.sun.jna.platform.mac
Class MacFileUtils
java.lang.Object
com.sun.jna.platform.FileUtils
com.sun.jna.platform.mac.MacFileUtils
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasTrash()
void
moveToTrash
(File... files) Move the given file to the system trash, if one is available.Methods inherited from class com.sun.jna.platform.FileUtils
getInstance
-
Constructor Details
-
MacFileUtils
public MacFileUtils()
-
-
Method Details
-
hasTrash
public boolean hasTrash() -
moveToTrash
Description copied from class:FileUtils
Move the given file to the system trash, if one is available.- Specified by:
moveToTrash
in classFileUtils
- Parameters:
files
- files to move- Throws:
IOException
- on failure.
-