|
||||||||||
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)
|
void |
setArg2(java.lang.String a2)
|
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)
public void setArg2(java.lang.String a2)
public void setTrim(boolean b)
public void setCasesensitive(boolean b)
public boolean eval() throws BuildException
Condition
eval
in interface Condition
BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |