Package | Description |
---|---|
org.apache.tomcat.util.http.fileupload |
NOTE: This code has been copied from commons-fileupload 1.2.1 and
commons-io 1.4 and package renamed to avoid clashes with any web apps that
may wish to use these libraries.
|
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.
|
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.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.