Class TempFileWarningLogger


  • public class TempFileWarningLogger
    extends java.lang.Object
    Temp files may take up a lot of space, warn administrators of their existence, giving them the chance to manage them.
    Author:
    Matt Ward
    • Constructor Summary

      Constructors 
      Constructor Description
      TempFileWarningLogger​(org.slf4j.Logger log, java.lang.String prefix, java.lang.String[] extensions, java.nio.file.Path dir)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean checkFiles()  
      protected java.lang.String getGlob()  
      void removeFiles()  
      • Methods inherited from class java.lang.Object

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

      • TempFileWarningLogger

        public TempFileWarningLogger​(org.slf4j.Logger log,
                                     java.lang.String prefix,
                                     java.lang.String[] extensions,
                                     java.nio.file.Path dir)
    • Method Detail

      • checkFiles

        public boolean checkFiles()
      • removeFiles

        public void removeFiles()
      • getGlob

        protected java.lang.String getGlob()