Package com.day.util

Class TempFileFinalizer

  • All Implemented Interfaces:
    Finalizer

    public final class TempFileFinalizer
    extends java.lang.Object
    implements Finalizer
    Finalizer that works with temporary files in conjunction with a FinalizerHandler Audience core
    Since:
    antbear
    • Constructor Summary

      Constructors 
      Constructor Description
      TempFileFinalizer​(java.io.File tempFile)
      Create a new TempFileFinalizer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doFinalize()
      This is the method called by the FinalizerHandler when the finalizing work has to be done.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TempFileFinalizer

        public TempFileFinalizer​(java.io.File tempFile)
        Create a new TempFileFinalizer
        Parameters:
        tempFile - the temp file
    • Method Detail

      • doFinalize

        public void doFinalize()
        This is the method called by the FinalizerHandler when the finalizing work has to be done.
        Specified by:
        doFinalize in interface Finalizer