Class LocalFileSearchWithTimestampConstraints

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

    public class LocalFileSearchWithTimestampConstraints
    extends LocalFileSearch
    Searches only for files.
    Allows to further restrict the search using a timestamp window ('last modified') that the files must satisfy.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -directory <adams.core.io.PlaceholderDirectory> (property: directory)
        The directory to search for files.
        default: ${CWD}
     
    -max-items <int> (property: maxItems)
        The maximum number of files to return (<= 0 is unlimited).
        default: -1
     
    -regexp <adams.core.base.BaseRegExp> (property: regExp)
        The regular expression that the files must match (empty string matches all
        ).
        default: 
     
    -sorting <NO_SORTING|SORT_BY_NAME|SORT_BY_LAST_MODIFIED> (property: sorting)
        The type of sorting to perform.
        default: NO_SORTING
     
    -descending <boolean> (property: sortDescending)
        If set to true, the files are sorted in descending manner.
        default: false
     
    -recursive <boolean> (property: recursive)
        Whether to search recursively or not.
        default: false
     
    -max-depth <int> (property: maxDepth)
        The maximum depth to search in recursive mode (1 = only watch directory, 
        -1 = infinite).
        default: -1
     
    -min-timestamp <adams.core.base.BaseDateTime> (property: minTimestamp)
        The minimum 'last modified'  timestamp that the files can have.
        default: -INF
     
    -max-timestamp <adams.core.base.BaseDateTime> (property: maxTimestamp)
        The maximum 'last modified'  timestamp that the files can have.
        default: +INF
     
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form