Package hudson.util
Class DirScanner
java.lang.Object
hudson.util.DirScanner
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DirScanner.Full,- DirScanner.Glob,- FilePath.ExplicitlySpecifiedDirScanner
Visits a directory and its contents and pass them to the 
FileVisitor.
 A DirScanner encapsulates the logic of how it filters files in the directory. It is also remotable.- Since:
- 1.343
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classScans by filtering things out fromFileFilter.static classScans everything recursively.static classScans by using Ant GLOB syntax.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract voidscan(File dir, FileVisitor visitor) Scans the given directory and pass files onto the given visitor.protected final voidscanSingle(File f, String relative, FileVisitor visitor) 
- 
Constructor Details- 
DirScannerpublic DirScanner()
 
- 
- 
Method Details- 
scanScans the given directory and pass files onto the given visitor.- Throws:
- IOException
 
- 
scanSingle- Throws:
- IOException
- Since:
- 1.532
 
 
-