org.pentaho.platform.engine.core.system
Class StandaloneTempFileDeleter

java.lang.Object
  extended by org.pentaho.platform.engine.core.system.StandaloneTempFileDeleter
All Implemented Interfaces:
ITempFileDeleter
Direct Known Subclasses:
SessionTempFileDeleter

public class StandaloneTempFileDeleter
extends Object
implements ITempFileDeleter


Field Summary
 
Fields inherited from interface org.pentaho.platform.api.util.ITempFileDeleter
DELETER_SESSION_VARIABLE
 
Constructor Summary
StandaloneTempFileDeleter()
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandaloneTempFileDeleter

public StandaloneTempFileDeleter()
Method Detail

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