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(File[] files)
Move the given file to the system trash, if one is available.
|
getInstance
public void moveToTrash(File[] files) throws IOException
FileUtils
moveToTrash
in class FileUtils
files
- files to moveIOException
- on failure.