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