Package com.sun.jna.platform.win32
Class W32FileUtils
- java.lang.Object
-
- com.sun.jna.platform.FileUtils
-
- com.sun.jna.platform.win32.W32FileUtils
-
public class W32FileUtils extends FileUtils
-
-
Constructor Summary
Constructors Constructor Description W32FileUtils()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
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
-
-
-
-
Method Detail
-
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 classFileUtils
- Parameters:
files
- files to move- Throws:
IOException
- on failure.
-
-