Condition
public class ResourcesMatch extends java.lang.Object implements Condition
true
.Constructor | Description |
---|---|
ResourcesMatch() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
public void setAsText(boolean asText)
asText
- whether to ignore line endings.public void add(ResourceCollection rc)
rc
- the resource collection to add.public boolean eval() throws BuildException
eval
in interface Condition
BuildException
- if there is an error.