public class Name extends java.lang.Object implements ResourceSelector
| Constructor and Description |
|---|
Name() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.