Class SmbFileSearchWithComparator

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

    public class SmbFileSearchWithComparator
    extends SmbDirectorySearchWithComparator
    Searches only for files, but uses the comparator for sorting the files (SMB, Windows shares).

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -host <java.lang.String> (property: host)
        The host to connect to.
        default: 
     
    -directory <java.lang.String> (property: directory)
        The directory to search for directories.
        default: 
     
    -regexp <adams.core.base.BaseRegExp> (property: regExp)
        The regular expression that the dirs must match (empty string matches all
        ).
        default: 
     
    -max-items <int> (property: maxItems)
        The maximum number of dirs to return (<= 0 is unlimited).
        default: -1
     
    -comparator <java.util.Comparator> (property: comparator)
        The comparator to use; must implement java.util.Comparator and java.io.Serializable
        default: adams.core.DefaultCompare
     
    -descending <boolean> (property: sortDescending)
        If set to true, the directories 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 search directory,
         -1 = infinite).
        default: -1
     
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form