|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.types.resources.selectors.Name
public class Name
Name ResourceSelector.
| Constructor Summary | |
|---|---|
Name()
|
|
| Method Summary | |
|---|---|
java.lang.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(java.lang.String n)
Set the pattern to compare names against. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Name()
| Method Detail |
|---|
public void setName(java.lang.String n)
n - the pattern String to set.public java.lang.String getName()
public void setCaseSensitive(boolean b)
b - boolean case-sensitivity flag.public boolean isCaseSensitive()
public boolean isSelected(Resource r)
isSelected in interface ResourceSelectorr - the Resource to check.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||