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 adams.core.io.NullFilenameGenerator 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 <adams.core.io.PlaceholderFile> (property: file)
        The file to check.
        default: ${CWD}
     
    -generator <adams.core.io.AbstractFilenameGenerator> (property: generator)
        The generator to use for generating the filename; uses the token passing 
        through.
        default: adams.core.io.NullFilenameGenerator
     
    -check <adams.core.io.fileuse.AbstractFileUseCheck> (property: check)
        The check scheme to use.
        default: adams.core.io.fileuse.Default
     
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form