public abstract class FileUtils extends Object
Constructor and Description |
---|
FileUtils() |
Modifier and Type | Method and 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()