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