|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.services.clientserver.search.SystemSearchFileNameMatcher
public class SystemSearchFileNameMatcher
A file name matcher for search.
Constructor Summary | |
---|---|
SystemSearchFileNameMatcher(String fileNamesString,
boolean isCaseSensitive,
boolean isRegex)
Constructor to create a file name matcher. |
Method Summary | |
---|---|
boolean |
isFileNamesStringAsterisk()
Returns whether the file names string is "*". |
boolean |
isFileNamesStringEmpty()
Returns whether the file names string is empty. |
boolean |
matches(String input)
Returns whether there is a match for the given input. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemSearchFileNameMatcher(String fileNamesString, boolean isCaseSensitive, boolean isRegex)
fileNamesString
- the file names string.isCaseSensitive
- true
if the matching should be done in a case sensitive manner, false
otherwise.isRegex
- true
if the file names string is a regular expression, false
otherwise.
NullPointerException
- if the file names string is null
.Method Detail |
---|
public boolean isFileNamesStringEmpty()
true
if the file names string is empty, false
otherwise.public boolean isFileNamesStringAsterisk()
true
if the file names string is "*", false
otherwise.public boolean matches(String input)
true
if the file names string
is an empty string.
matches
in interface IMatcher
input
- Input string to be matched
true
if the input string matches this
matcher's criteriaorg.eclipse.rse.services.clientserver.ISystemSearchMatcher#matches(java.lang.String)
|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |