Uses of Class
org.apache.commons.io.FileDeleteStrategy
-
Packages that use FileDeleteStrategy Package Description org.apache.commons.io This package defines utility classes for working with streams, readers, writers and files. -
-
Uses of FileDeleteStrategy in org.apache.commons.io
Fields in org.apache.commons.io declared as FileDeleteStrategy Modifier and Type Field 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.Methods in org.apache.commons.io with parameters of type FileDeleteStrategy Modifier and Type Method Description static void
FileCleaner. track(java.io.File file, java.lang.Object marker, FileDeleteStrategy deleteStrategy)
Deprecated.static void
FileCleaner. track(java.lang.String path, java.lang.Object marker, FileDeleteStrategy deleteStrategy)
Deprecated.void
FileCleaningTracker. track(java.io.File file, java.lang.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(java.lang.String path, java.lang.Object marker, FileDeleteStrategy deleteStrategy)
Track the specified file, using the provided marker, deleting the file when the marker instance is garbage collected.
-