API Overview
API Index
Package Overview
Direct link to this page
Apache Ant 1.7.1
org.apache.tools.ant.taskdefs.condition.
Contains
View Source
Author(s)
Since
Ant 1.5
Version
Serial
Hierarchy
Object
Contains
Implements
Condition
Subclasses
See DIRECT subclasses
Quick Links:
Constructors
Methods
Fields
NestedClasses
Description
public
class Contains
Is one string part of another string?
Is one string part of another string?
See also:
Constructors
public
Contains
()
Methods
Hide/Show inherited methods
public
boolean
eval
() throws
BuildException
[Specified in
Condition
]
Returns:
true if the substring is within the string
Throws:
-
BuildException
- if the attributes are not set correctly
Since:
Ant 1.5
public
void
setCasesensitive
(
boolean
b)
Whether to search ignoring case or not.
Whether to search ignoring case or not.
Parameters:
-
b
- if false, ignore case
Since:
Ant 1.5
public
void
setString
(
java.lang.String
string)
The string to search in.
The string to search in.
Parameters:
-
string
- the string to search in
Since:
Ant 1.5
public
void
setSubstring
(
java.lang.String
subString)
The string to search for.
The string to search for.
Parameters:
-
subString
- the string to search for
Since:
Ant 1.5
Fields
Hide/Show inherited fields
Nested Classes
Generated By:
JavaOnTracks Doclet
0.1.4 ©Thibaut Colar