public class FileScanner extends Task
FileScanner is a bean which allows the iteration
 over a number of files from a collection of FileSet instances.
 
| Constructor and description | 
|---|
                                FileScanner() | 
                        
                                FileScanner(Project project) | 
                        
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            public void | 
                            addFileset(FileSet set)Adds a set of files (nested fileset attribute).  | 
                        
 | 
                            public void | 
                            clear()Clears any file sets that have been added to this scanner  | 
                        
 | 
                            public Iterator<File> | 
                            directories() | 
                        
 | 
                            public boolean | 
                            hasFiles() | 
                        
 | 
                            public Iterator<File> | 
                            iterator() | 
                        
| Methods inherited from class | Name | 
|---|---|
class Task | 
                            bindToOwner, clone, equals, execute, getClass, getDescription, getLocation, getOwningTarget, getProject, getRuntimeConfigurableWrapper, getTaskName, getTaskType, hashCode, init, log, log, log, log, maybeConfigure, notify, notifyAll, perform, reconfigure, setDescription, setLocation, setOwningTarget, setProject, setRuntimeConfigurableWrapper, setTaskName, setTaskType, toString, wait, wait, wait | 
                        
Copyright © 2003-2025 The Apache Software Foundation. All rights reserved.