Class FileIncomplete

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, SizeOfHandler, Serializable

    public class FileIncomplete
    extends AbstractFileUseCheck
    Assumes the file to be in use when not complete, i.e., still being written.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
        min-user-mode: Expert
    -check <> (property: check)
        The check scheme to use for checking the 'in use' state (incomplete -> in
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • FileIncomplete

        public FileIncomplete()
    • Method Detail

      • setCheck

        public void setCheck​(AbstractFileCompleteCheck value)
        Sets the file check to use for checking the completeness.
        value - the check
      • getCheck

        public AbstractFileCompleteCheck getCheck()
        Returns the file check to use for checking the completeness.
        the check
      • checkTipText

        public String checkTipText()
        Returns the tip text for this property.
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • isInUse

        public boolean isInUse​(File file)
        Checks whether the file is in use.
        Specified by:
        isInUse in class AbstractFileUseCheck
        file - the file to check
        true if in use