public class MacFileUtils extends FileUtils
Modifier and Type | Class and Description |
---|---|
static interface |
MacFileUtils.FileManager |
Constructor and Description |
---|
MacFileUtils() |
Modifier and Type | Method and 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.