org.apache.tools.ant.types.resources

Class LazyResourceCollectionWrapper

public class LazyResourceCollectionWrapper extends AbstractResourceCollectionWrapper

Resource collection which load underlying resource collection only on demand with support for caching
Method Summary
protected IteratorcreateIterator()
protected booleanfilterResource(Resource r)
Specify if the resource should be filtered or not.
protected intgetSize()

Method Detail

createIterator

protected Iterator createIterator()

filterResource

protected boolean filterResource(Resource r)
Specify if the resource should be filtered or not. This function should be overrided in order to define the filtering algorithm

Parameters: r resource considered for filtration

Returns: whether the resource should be filtered or not

getSize

protected int getSize()