| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | FileUtils.Holder
Canonical lazy loading of a singleton. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static FileUtils | |
| public boolean | |
| public abstract void | moveToTrash(File...
files to move files)Move the given file to the system trash, if one is available. |
| FileUtils | back to summary |
|---|---|
| public FileUtils() | |
| getInstance | back to summary |
|---|---|
| public static FileUtils getInstance() | |
| hasTrash | back to summary |
|---|---|
| public boolean hasTrash() | |
| moveToTrash | back to summary |
|---|---|
| public abstract void moveToTrash(File... files) throws IOException Move the given file to the system trash, if one is available.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private File | |
| public boolean | |
| public void | moveToTrash(File...
files to move files)Implements abstract com. |
| DefaultFileUtils | back to summary |
|---|---|
| private DefaultFileUtils() | |
| getTrashDirectory | back to summary |
|---|---|
| private File getTrashDirectory() | |
| hasTrash | back to summary |
|---|---|
| public boolean hasTrash() Overrides com.
| |
| moveToTrash | back to summary |
|---|---|
| public void moveToTrash(File... files) throws IOException Implements abstract com. The default implementation attempts to move the file to the desktop "Trash" folder.
| |
| Access | Constructor and Description |
|---|---|
| private |
| INSTANCE | back to summary |
|---|---|
| public static final FileUtils INSTANCE | |
| Holder | back to summary |
|---|---|
| private Holder() | |