Class LastModified

    • Field Detail

      • m_LastModified

        protected Map<File,​Long> m_LastModified
        the map for file / lastmodified.
    • Constructor Detail

      • LastModified

        public LastModified()
    • Method Detail

      • doInitialize

        protected String doInitialize​(File dir)
        Performs the actual initialization of the monitor with the specified dir.
        Specified by:
        doInitialize in class AbstractDirChangeMonitor
        Parameters:
        dir - the dir to initialize with
        Returns:
        null if successful, otherwise error message
      • checkChange

        protected boolean checkChange​(File dir)
        Performs the actual check whether the dir has changed.
        Specified by:
        checkChange in class AbstractDirChangeMonitor
        Parameters:
        dir - the dir to check
        Returns:
        true if changed
      • doUpdate

        protected String doUpdate​(File dir)
        Performs the actual updating of the monitor with the specified dir.
        Specified by:
        doUpdate in class AbstractDirChangeMonitor
        Parameters:
        dir - the dir to update with
        Returns:
        null if successful, otherwise error message