| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.tools.ant.taskdefs.condition.Equals
Simple String comparison condition.
| Constructor Summary | |
| Equals() | |
| Method Summary | |
|  boolean | eval()Is this condition true? | 
|  void | setArg1(java.lang.String a1)Set the first string | 
|  void | setArg2(java.lang.String a2)Set the second string | 
|  void | setCasesensitive(boolean b)Should the comparison be case sensitive? | 
|  void | setTrim(boolean b)Should we want to trim the arguments before comparing them? | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public Equals()
| Method Detail | 
public void setArg1(java.lang.String a1)
a1 - the first stringpublic void setArg2(java.lang.String a2)
a2 - the second stringpublic void setTrim(boolean b)
b - if true trim the argumentspublic void setCasesensitive(boolean b)
b - if true use a case sensitive comparison (this is the
          default)
public boolean eval()
             throws BuildException
Condition
eval in interface ConditionBuildException - if the attributes are not set correctly| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||