org.pentaho.platform.engine.core.system
Class StandaloneTempFileDeleter
java.lang.Object
org.pentaho.platform.engine.core.system.StandaloneTempFileDeleter
- All Implemented Interfaces:
- ITempFileDeleter
- Direct Known Subclasses:
- SessionTempFileDeleter
public class StandaloneTempFileDeleter
- extends Object
- implements ITempFileDeleter
Method Summary |
void |
doTempFileCleanup()
Performs the temp file cleanup. |
boolean |
hasTempFile(String aFileName)
Returns true if the specified file is being tracked
by the deleter |
void |
trackTempFile(File aFile)
Adds the provided file to the list of files being tracked |
StandaloneTempFileDeleter
public StandaloneTempFileDeleter()
trackTempFile
public void trackTempFile(File aFile)
- Description copied from interface:
ITempFileDeleter
- Adds the provided file to the list of files being tracked
- Specified by:
trackTempFile
in interface ITempFileDeleter
doTempFileCleanup
public void doTempFileCleanup()
- Description copied from interface:
ITempFileDeleter
- Performs the temp file cleanup.
- Specified by:
doTempFileCleanup
in interface ITempFileDeleter
hasTempFile
public boolean hasTempFile(String aFileName)
- Description copied from interface:
ITempFileDeleter
- Returns true if the specified file is being tracked
by the deleter
- Specified by:
hasTempFile
in interface ITempFileDeleter
- Returns:
- true if the deleter has the filename in it's list