Class LastModified

    • Field Detail

      • m_LastModified

        protected long m_LastModified
        the lastmodified timestamp.
    • Constructor Detail

      • LastModified

        public LastModified()
    • Method Detail

      • doInitialize

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

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

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