Package | Description |
---|---|
org.apache.commons.io |
This package defines utility classes for working with streams, readers,
writers and files.
|
Modifier and Type | Field and Description |
---|---|
static FileDeleteStrategy |
FileDeleteStrategy.FORCE
The singleton instance for forced file deletion, which always deletes,
even if the file represents a non-empty directory.
|
static FileDeleteStrategy |
FileDeleteStrategy.NORMAL
The singleton instance for normal file deletion, which does not permit
the deletion of directories that are not empty.
|
Modifier and Type | Method and Description |
---|---|
void |
FileCleaningTracker.track(File file,
Object marker,
FileDeleteStrategy deleteStrategy)
Track the specified file, using the provided marker, deleting the file
when the marker instance is garbage collected.
|
static void |
FileCleaner.track(File file,
Object marker,
FileDeleteStrategy deleteStrategy)
Deprecated.
|
void |
FileCleaningTracker.track(String path,
Object marker,
FileDeleteStrategy deleteStrategy)
Track the specified file, using the provided marker, deleting the file
when the marker instance is garbage collected.
|
static void |
FileCleaner.track(String path,
Object marker,
FileDeleteStrategy deleteStrategy)
Deprecated.
|
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.