MacFileUtils, W32FileUtilspublic abstract class FileUtils extends Object
| Constructor | Description |
|---|---|
FileUtils() |
| Modifier and Type | Method | Description |
|---|---|---|
static FileUtils |
getInstance() |
|
boolean |
hasTrash() |
|
abstract void |
moveToTrash(File[] files) |
Move the given file to the system trash, if one is available.
|
public boolean hasTrash()
public abstract void moveToTrash(File[] files) throws IOException
files - files to moveIOException - on failure.public static FileUtils getInstance()