Class FTP.FTPDirectoryScanner

All Implemented Interfaces:
FileScanner, SelectorScanner
Enclosing class:

protected class FTP.FTPDirectoryScanner
extends DirectoryScanner

Field Summary
protected ftp
Fields inherited from class
basedir, DEFAULTEXCLUDES, dirsDeselected, dirsExcluded, dirsIncluded, dirsNotIncluded, everythingIncluded, excludes, filesDeselected, filesExcluded, filesIncluded, filesNotIncluded, haveSlowResults, includes, isCaseSensitive, selectors
Constructor Summary
FTP.FTPDirectoryScanner( ftp)
Method Summary
 void scan()
          Scans the base directory for files which match at least one include pattern and don't match any exclude patterns.
protected  void scandir(java.lang.String dir, java.lang.String vpath, boolean fast)
Methods inherited from class
addDefaultExcludes, couldHoldIncluded, getBasedir, getDeselectedDirectories, getDeselectedFiles, getExcludedDirectories, getExcludedFiles, getIncludedDirectories, getIncludedFiles, getNotIncludedDirectories, getNotIncludedFiles, isEverythingIncluded, isExcluded, isIncluded, isSelected, match, match, matchPath, matchPath, matchPatternStart, matchPatternStart, scandir, setBasedir, setBasedir, setCaseSensitive, setExcludes, setFollowSymlinks, setIncludes, setSelectors, slowScan
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


protected ftp
Constructor Detail


public FTP.FTPDirectoryScanner( ftp)
Method Detail


public void scan()
Description copied from class: DirectoryScanner
Scans the base directory for files which match at least one include pattern and don't match any exclude patterns. If there are selectors then the files must pass muster there, as well.

Specified by:
scan in interface FileScanner
scan in class DirectoryScanner


protected void scandir(java.lang.String dir,
                       java.lang.String vpath,
                       boolean fast)

Copyright 2000-2002 Apache Software Foundation. All Rights Reserved.