Package hudson.util
Class DirScanner.Full
- java.lang.Object
-
- hudson.util.DirScanner
-
- hudson.util.DirScanner.Full
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DirScanner.Filter
- Enclosing class:
- DirScanner
public static class DirScanner.Full extends DirScanner
Scans everything recursively.Note that all file paths are prefixed by the name of the root directory. For example, when scanning a directory
/tmp/dir
containing a filefile
, therelativePath
sent to theFileVisitor
will bedir/file
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.util.DirScanner
DirScanner.Filter, DirScanner.Full, DirScanner.Glob
-
-
Constructor Summary
Constructors Constructor Description Full()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
scan(File dir, FileVisitor visitor)
Scans the given directory and pass files onto the given visitor.-
Methods inherited from class hudson.util.DirScanner
scanSingle
-
-
-
-
Method Detail
-
scan
public void scan(File dir, FileVisitor visitor) throws IOException
Description copied from class:DirScanner
Scans the given directory and pass files onto the given visitor.- Specified by:
scan
in classDirScanner
- Throws:
IOException
-
-