Class FileModifiedTimeUpdater


  • public class FileModifiedTimeUpdater
    extends java.lang.Object
    Holder class to validate file modification.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String fileName  
      (package private) java.nio.file.attribute.FileTime lastModifiedTime  
    • Field Detail

      • fileName

        java.lang.String fileName
      • lastModifiedTime

        java.nio.file.attribute.FileTime lastModifiedTime
    • Constructor Detail

      • FileModifiedTimeUpdater

        public FileModifiedTimeUpdater​(java.lang.String fileName)
    • Method Detail

      • checkAndRefresh

        public boolean checkAndRefresh()
      • getFileName

        public java.lang.String getFileName()
      • getLastModifiedTime

        public java.nio.file.attribute.FileTime getLastModifiedTime()