Package org.apache.wicket.util.file
Class FileCleanerTrackerAdapter
- java.lang.Object
-
- org.apache.commons.io.FileCleaningTracker
-
- org.apache.wicket.util.file.FileCleanerTrackerAdapter
-
public class FileCleanerTrackerAdapter extends org.apache.commons.io.FileCleaningTracker
Adapts IFileCleaner to FileCleaningTracker
-
-
Constructor Summary
Constructors Constructor Description FileCleanerTrackerAdapter(IFileCleaner fileCleaner)
Creates an adaptor for afileCleaner
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
track(File file, Object marker)
void
track(File file, Object marker, org.apache.commons.io.FileDeleteStrategy deleteStrategy)
void
track(String path, Object marker)
void
track(String path, Object marker, org.apache.commons.io.FileDeleteStrategy deleteStrategy)
-
-
-
Constructor Detail
-
FileCleanerTrackerAdapter
public FileCleanerTrackerAdapter(IFileCleaner fileCleaner)
Creates an adaptor for afileCleaner
- Parameters:
fileCleaner
- the cleaner to adapt
-
-
Method Detail
-
track
public void track(File file, Object marker)
- Overrides:
track
in classorg.apache.commons.io.FileCleaningTracker
-
track
public void track(File file, Object marker, org.apache.commons.io.FileDeleteStrategy deleteStrategy)
- Overrides:
track
in classorg.apache.commons.io.FileCleaningTracker
-
track
public void track(String path, Object marker)
- Overrides:
track
in classorg.apache.commons.io.FileCleaningTracker
-
-