org.apache.tools.ant.taskdefs.condition
public class ResourcesMatch extends Object implements Condition
true.Since: Ant 1.7
| Method Summary | |
|---|---|
| void | add(ResourceCollection rc)
Add a resource collection. |
| boolean | eval()
Verify that all resources match. |
| void | setAsText(boolean asText)
Set whether to treat resources as if they were text files,
ignoring line endings. |
Parameters: rc the resource collection to add.
Returns: true if all resources are equal.
Throws: BuildException if there is an error.
Parameters: asText whether to ignore line endings.