org.apache.tools.ant.taskdefs.condition
public class Contains extends Object implements Condition
Since: Ant 1.5
Method Summary | |
---|---|
boolean | eval() |
void | setCasesensitive(boolean b)
Whether to search ignoring case or not. |
void | setString(String string)
The string to search in. |
void | setSubstring(String subString)
The string to search for. |
Returns: true if the substring is within the string
Throws: BuildException if the attributes are not set correctly
Since: Ant 1.5
Parameters: b if true, ignore case
Since: Ant 1.5
Parameters: string the string to search in
Since: Ant 1.5
Parameters: subString the string to search for
Since: Ant 1.5