|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.scheduler.ScheduleBean com.jfw.scheduler.util.CleanOldFiles
public final class CleanOldFiles
Clean the old files. All the files, independently from
the extension, found in a directory and not modified for a period of time
will be deleted.
To configure the cleaner the
following parameters must be set in the jfw.properties file:
Field Summary |
---|
Fields inherited from class com.jfw.scheduler.ScheduleBean |
---|
className, properties |
Constructor Summary | |
---|---|
CleanOldFiles()
|
Method Summary | |
---|---|
void |
start()
Delete old files. |
Methods inherited from class com.jfw.scheduler.ScheduleBean |
---|
addError, getAdvance, sendEmail, setAdvance, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CleanOldFiles()
Method Detail |
---|
public void start() throws java.lang.Throwable
start
in class ScheduleBean
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |