org.apache.tools.ant.types.resources
public class Sort extends BaseResourceCollectionWrapper
Since: Ant 1.7
Method Summary | |
---|---|
void | add(ResourceComparator c)
Add a ResourceComparator to this Sort ResourceCollection.
|
protected void | dieOnCircularReference(Stack stk, Project p)
Overrides the BaseResourceCollectionContainer version
to recurse on nested ResourceComparators. |
protected Collection | getCollection()
Sort the contained elements. |
Parameters: c the ResourceComparator to add.
Parameters: stk the stack of data types to use (recursively). p the project to use to dereference the references.
Throws: BuildException on error.
Returns: a Collection of Resources.