Class FileInUse

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, ShallowCopySupporter<BooleanCondition>, SizeOfHandler, Stoppable, BooleanCondition, Serializable

    public class FileInUse
    extends AbstractBooleanCondition
    Evaluates to 'true' if the file is currently being used by another process.
    If a filename generator other than is specified, then this takes precedence over the supplied filename (uses the token passing through).

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
    -file <> (property: file)
        The file to check.
        default: ${CWD}
    -generator <> (property: generator)
        The generator to use for generating the filename; uses the token passing 
    -check <> (property: check)
        The check scheme to use.
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form