| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | FileUtils.Holder
Canonical lazy loading of a singleton. |
| private static class | |
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static FileUtils | |
| public boolean | |
| public abstract boolean |
| 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 boolean moveToTrash(File[] files) Move the given file to the system trash, if one is available. Returns whether the operation was successful. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private File | |
| public boolean | |
| public boolean | moveToTrash(File[] 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 boolean moveToTrash(File[] files) 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() | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | moveToTrash(File[] files)
Implements abstract com. |
| MacFileUtils | back to summary |
|---|---|
| private MacFileUtils() | |
| hasTrash | back to summary |
|---|---|
| public boolean hasTrash() Overrides com. | |
| moveToTrash | back to summary |
|---|---|
| public boolean moveToTrash(File[] files) Implements abstract com. Doc from com. Move the given file to the system trash, if one is available. Returns whether the operation was successful. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | moveToTrash(File[] files)
Implements abstract com. |
| W32FileUtils | back to summary |
|---|---|
| private W32FileUtils() | |
| hasTrash | back to summary |
|---|---|
| public boolean hasTrash() Overrides com. | |
| moveToTrash | back to summary |
|---|---|
| public boolean moveToTrash(File[] files) Implements abstract com. Doc from com. Move the given file to the system trash, if one is available. Returns whether the operation was successful. | |