Searched refs:FileDeleteStrategy (Results 1 - 3 of 3) sorted by relevance

/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DFileDeleteStrategy.java32 * @version $Id: FileDeleteStrategy.java 453903 2006-10-07 13:47:06Z scolebourne $
35 public class FileDeleteStrategy { class
41 public static final FileDeleteStrategy NORMAL = new FileDeleteStrategy("Normal");
46 public static final FileDeleteStrategy FORCE = new ForceFileDeleteStrategy();
57 protected FileDeleteStrategy(String name) { method in class:FileDeleteStrategy
126 return "FileDeleteStrategy[" + name + "]";
133 static class ForceFileDeleteStrategy extends FileDeleteStrategy {
H A DFileCleaningTracker.java65 * The {@link FileDeleteStrategy#NORMAL normal} deletion strategy will be used.
72 track(file, marker, (FileDeleteStrategy) null);
85 public void track(File file, Object marker, FileDeleteStrategy deleteStrategy) {
95 * The {@link FileDeleteStrategy#NORMAL normal} deletion strategy will be used.
102 track(path, marker, (FileDeleteStrategy) null);
115 public void track(String path, Object marker, FileDeleteStrategy deleteStrategy) {
129 private synchronized void addTracker(String path, Object marker, FileDeleteStrategy deleteStrategy) {
232 private final FileDeleteStrategy deleteStrategy;
242 Tracker(String path, FileDeleteStrategy deleteStrategy, Object marker, ReferenceQueue<Object> queue) {
245 this.deleteStrategy = (deleteStrategy == null ? FileDeleteStrategy
[all...]
H A DFileCleaner.java51 * The {@link FileDeleteStrategy#NORMAL normal} deletion strategy will be used.
72 * @deprecated Use {@link FileCleaningTracker#track(File, Object, FileDeleteStrategy)}.
75 public static void track(File file, Object marker, FileDeleteStrategy deleteStrategy) {
82 * The {@link FileDeleteStrategy#NORMAL normal} deletion strategy will be used.
103 * @deprecated Use {@link FileCleaningTracker#track(String, Object, FileDeleteStrategy)}.
106 public static void track(String path, Object marker, FileDeleteStrategy deleteStrategy) {

Completed in 563 milliseconds