| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.resources.AbstractResourceCollectionWrapper
org.apache.tools.ant.types.resources.LazyResourceCollectionWrapper
public class LazyResourceCollectionWrapper
Resource collection which load underlying resource collection only on demand with support for caching
| Field Summary | 
|---|
| Fields inherited from class org.apache.tools.ant.types.DataType | 
|---|
| checked, ref | 
| Fields inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| description, location, project | 
| Constructor Summary | |
|---|---|
| LazyResourceCollectionWrapper() | |
| Method Summary | |
|---|---|
| protected  java.util.Iterator<Resource> | createIterator()Do create an iterator on the resource collection. | 
| protected  boolean | filterResource(Resource r)Specify if the resource should be filtered or not. | 
| protected  int | getSize()Do compute the size of the resource collection. | 
| Methods inherited from class org.apache.tools.ant.types.resources.AbstractResourceCollectionWrapper | 
|---|
| add, dieOnCircularReference, getResourceCollection, isCache, isFilesystemOnly, iterator, setCache, size, toString | 
| Methods inherited from class org.apache.tools.ant.types.DataType | 
|---|
| checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes | 
| Methods inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public LazyResourceCollectionWrapper()
| Method Detail | 
|---|
protected java.util.Iterator<Resource> createIterator()
AbstractResourceCollectionWrapper
createIterator in class AbstractResourceCollectionWrapperprotected int getSize()
AbstractResourceCollectionWrapper
getSize in class AbstractResourceCollectionWrapperprotected boolean filterResource(Resource r)
r - resource considered for filtration
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||