public interface FilePurgeService
| Modifier and Type | Method and Description | 
|---|---|
| int | getDaysBeforePurgeForCustomAge(FilePurgeCustomAge customAge)Returns the age in days that files matching this custom age should leave matching files before purging | 
| int | getStandardDaysBeforePurge()Looks up the parameter for the standard number of days before a file should be purged | 
| void | purgeFiles(String directory,
                    List<FilePurgeCustomAge> customAges)Purges old files from the given directory | 
void purgeFiles(String directory, List<FilePurgeCustomAge> customAges)
directory - the directory to purgecustomAges - the List of customized ages for files which do not follow the standardint getDaysBeforePurgeForCustomAge(FilePurgeCustomAge customAge)
customAge - a custom age to checkint getStandardDaysBeforePurge()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.