| java.lang.Object org.apache.tools.ant.types.resources.FileResourceIterator
FileResourceIterator | public class FileResourceIterator implements Iterator(Code) | | Iterator of FileResources from filenames.
since: Ant 1.7 |
Method Summary | |
public void | addFiles(String[] s) Add an array of filenames to this FileResourceIterator. | public boolean | hasNext() Find out whether this FileResourceIterator has more elements. | public Object | next() Get the next element from this FileResourceIterator. | public FileResource | nextResource() Convenience method to return the next resource. | public void | remove() Not implemented. |
FileResourceIterator | public FileResourceIterator()(Code) | | Construct a new FileResourceIterator.
|
FileResourceIterator | public FileResourceIterator(File f)(Code) | | Construct a new FileResourceIterator relative to the specified
base directory.
Parameters: f - the base directory of this instance. |
FileResourceIterator | public FileResourceIterator(File f, String[] s)(Code) | | Construct a new FileResourceIterator over the specified filenames,
relative to the specified base directory.
Parameters: f - the base directory of this instance. Parameters: s - the String[] of filenames. |
addFiles | public void addFiles(String[] s)(Code) | | Add an array of filenames to this FileResourceIterator.
Parameters: s - the filenames to add. |
hasNext | public boolean hasNext()(Code) | | Find out whether this FileResourceIterator has more elements.
whether there are more Resources to iterate over. |
next | public Object next()(Code) | | Get the next element from this FileResourceIterator.
the next Object. |
nextResource | public FileResource nextResource()(Code) | | Convenience method to return the next resource.
the next File. |
remove | public void remove()(Code) | | Not implemented.
|
|
|