Package com.sun.jna.platform.mac
Class MacFileUtils
- java.lang.Object
-
- com.sun.jna.platform.FileUtils
-
- com.sun.jna.platform.mac.MacFileUtils
-
public class MacFileUtils extends FileUtils
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMacFileUtils.FileManager
-
Constructor Summary
Constructors Constructor Description MacFileUtils()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasTrash()voidmoveToTrash(java.io.File... files)Move the given file to the system trash, if one is available.-
Methods inherited from class com.sun.jna.platform.FileUtils
getInstance
-
-
-
-
Method Detail
-
moveToTrash
public void moveToTrash(java.io.File... files) throws java.io.IOExceptionDescription copied from class:FileUtilsMove the given file to the system trash, if one is available.- Specified by:
moveToTrashin classFileUtils- Parameters:
files- files to move- Throws:
java.io.IOException- on failure.
-
-