Class FileResourceIterator
- java.lang.Object
- 
- org.apache.tools.ant.types.resources.FileResourceIterator
 
- 
- 
Constructor SummaryConstructors Constructor Description FileResourceIterator()Deprecated.in favor ofFileResourceIterator(Project)FileResourceIterator(java.io.File basedir)Deprecated.in favor ofFileResourceIterator(Project, File)FileResourceIterator(java.io.File basedir, java.lang.String[] filenames)Deprecated.in favor ofFileResourceIterator(Project, File, String[])FileResourceIterator(Project project)Create a new FileResourceIterator.FileResourceIterator(Project project, java.io.File basedir)Construct a new FileResourceIterator relative to the specified base directory.FileResourceIterator(Project project, java.io.File basedir, java.lang.String[] filenames)Construct a new FileResourceIterator over the specified filenames, relative to the specified base directory.
 - 
Method SummaryModifier and Type Method Description voidaddFiles(java.lang.String[] s)Add an array of filenames to this FileResourceIterator.booleanhasNext()Find out whether this FileResourceIterator has more elements.Resourcenext()Get the next element from this FileResourceIterator.FileResourcenextResource()Convenience method to return the next resource.voidremove()Not implemented.
 
- 
- 
- 
Constructor Detail- 
FileResourceIterator@Deprecated public FileResourceIterator() Deprecated.in favor ofFileResourceIterator(Project)Construct a new FileResourceIterator.
 - 
FileResourceIteratorpublic FileResourceIterator(Project project) Create a new FileResourceIterator.- Parameters:
- project- associated Project instance
- Since:
- Ant 1.8
 
 - 
FileResourceIterator@Deprecated public FileResourceIterator(java.io.File basedir) Deprecated.in favor ofFileResourceIterator(Project, File)Construct a new FileResourceIterator relative to the specified base directory.- Parameters:
- basedir- the base directory of this instance.
 
 - 
FileResourceIteratorpublic FileResourceIterator(Project project, java.io.File basedir) Construct a new FileResourceIterator relative to the specified base directory.- Parameters:
- project- associated Project instance
- basedir- the base directory of this instance.
- Since:
- Ant 1.8
 
 - 
FileResourceIterator@Deprecated public FileResourceIterator(java.io.File basedir, java.lang.String[] filenames)Deprecated.in favor ofFileResourceIterator(Project, File, String[])Construct a new FileResourceIterator over the specified filenames, relative to the specified base directory.- Parameters:
- basedir- the base directory of this instance.
- filenames- the String[] of filenames.
 
 - 
FileResourceIteratorpublic FileResourceIterator(Project project, java.io.File basedir, java.lang.String[] filenames) Construct a new FileResourceIterator over the specified filenames, relative to the specified base directory.- Parameters:
- project- associated Project instance
- basedir- the base directory of this instance.
- filenames- the String[] of filenames.
- Since:
- Ant 1.8
 
 
- 
 - 
Method Detail- 
addFilespublic void addFiles(java.lang.String[] s) Add an array of filenames to this FileResourceIterator.- Parameters:
- s- the filenames to add.
 
 - 
hasNextpublic boolean hasNext() Find out whether this FileResourceIterator has more elements.- Specified by:
- hasNextin interface- java.util.Iterator<Resource>
- Returns:
- whether there are more Resources to iterate over.
 
 - 
nextpublic Resource next() Get the next element from this FileResourceIterator.- Specified by:
- nextin interface- java.util.Iterator<Resource>
- Returns:
- the next Object.
 
 - 
removepublic void remove() Not implemented.- Specified by:
- removein interface- java.util.Iterator<Resource>
 
 - 
nextResourcepublic FileResource nextResource() Convenience method to return the next resource.- Returns:
- the next File.
 
 
- 
 
-