Modifier and Type | Field and Description |
---|---|
private boolean | |
private Regexp | |
private boolean | |
private String | |
private Project | |
private RegularExpression | |
private String |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: booleanWhether the difference between / and \ (the two common directory characters) is ignored. |
public String | |
public String | Returns: the String selection pattern.Get the regular expression used by this Name ResourceSelector. |
public boolean | Returns: boolean case-sensitivity flag.Learn whether this Name ResourceSelector is case-sensitive. |
public boolean | Returns: whether the Resource was selected.the Resource to check. r)Implements org. |
private boolean | |
private String | |
public void | setCaseSensitive(boolean
boolean case-sensitivity flag. b)Set whether the name comparisons are case-sensitive. |
public void | setHandleDirSep(boolean
a boolean, default is false. handleDirSep)Attribute specifying whether to ignore the difference between / and \ (the two common directory characters). |
public void | |
public void | |
public void |
cs | back to summary |
---|---|
private boolean cs |
expression | back to summary |
---|---|
private Regexp expression |
handleDirSep | back to summary |
---|---|
private boolean handleDirSep |
pattern | back to summary |
---|---|
private String pattern |
project | back to summary |
---|---|
private Project project |
reg | back to summary |
---|---|
private RegularExpression reg |
regex | back to summary |
---|---|
private String regex |
Name | back to summary |
---|---|
public Name() |
doesHandledirSep | back to summary |
---|---|
public boolean doesHandledirSep() Whether the difference between / and \ (the two common directory characters) is ignored.
|
getName | back to summary |
---|---|
public String getName() Get the pattern used by this Name ResourceSelector.
|
getRegex | back to summary |
---|---|
public String getRegex() Get the regular expression used by this Name ResourceSelector.
|
isCaseSensitive | back to summary |
---|---|
public boolean isCaseSensitive() Learn whether this Name ResourceSelector is case-sensitive.
|
isSelected | back to summary |
---|---|
public boolean isSelected(Resource r) Implements org. Return true if this Resource is selected.
|
matches | back to summary |
---|---|
private boolean matches(String name) |
modify | back to summary |
---|---|
private String modify(String s) |
setCaseSensitive | back to summary |
---|---|
public void setCaseSensitive(boolean b) Set whether the name comparisons are case-sensitive.
|
setHandleDirSep | back to summary |
---|---|
public void setHandleDirSep(boolean handleDirSep) Attribute specifying whether to ignore the difference between / and \ (the two common directory characters).
|
setName | back to summary |
---|---|
public void setName(String n) Set the pattern to compare names against.
|
setProject | back to summary |
---|---|
public void setProject(Project p) |
setRegex | back to summary |
---|---|
public void setRegex(String r) Set the regular expression to compare names against.
|