org.apache.tools.ant.types.resources.selectors
public class Name extends Object implements ResourceSelector
Since: Ant 1.7
Method Summary | |
---|---|
String | getName()
Get the pattern used by this Name ResourceSelector. |
boolean | isCaseSensitive()
Learn whether this Name ResourceSelector is case-sensitive. |
boolean | isSelected(Resource r)
Return true if this Resource is selected. |
void | setCaseSensitive(boolean b)
Set whether the name comparisons are case-sensitive. |
void | setName(String n)
Set the pattern to compare names against. |
Returns: the String selection pattern.
Returns: boolean case-sensitivity flag.
Parameters: r the Resource to check.
Returns: whether the Resource was selected.
Parameters: b boolean case-sensitivity flag.
Parameters: n the pattern String to set.