public class MacFileUtils extends FileUtils
Modifier and Type | Class | Description |
---|---|---|
static interface |
MacFileUtils.FileManager |
Constructor | Description |
---|---|
MacFileUtils() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasTrash() |
|
void |
moveToTrash(java.io.File[] files) |
Move the given file to the system trash, if one is available.
|
getInstance
public void moveToTrash(java.io.File[] files) throws java.io.IOException
FileUtils
moveToTrash
in class FileUtils
files
- files to movejava.io.IOException
- on failure.