Class Size

    • Field Detail

      • m_Size

        protected long m_Size
        the size.
    • Constructor Detail

      • Size

        public Size()
    • 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