org.apache.tools.ant.taskdefs.condition
Class Equals
java.lang.Object
org.apache.tools.ant.taskdefs.condition.Equals
- Condition
public class Equals
extends java.lang.Object
Simple String comparison condition.
boolean | eval()
|
void | setArg1(String a1) - Set the first string
|
void | setArg2(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?
|
setArg1
public void setArg1(String a1)
Set the first string
setArg2
public void setArg2(String a2)
Set the second string
setCasesensitive
public void setCasesensitive(boolean b)
Should the comparison be case sensitive?
b
- if true use a case sensitive comparison (this is the
default)
setTrim
public void setTrim(boolean b)
Should we want to trim the arguments before comparing them?
b
- if true trim the arguments
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.