|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.services.clientserver.search.SystemSearchStringMatcher
public class SystemSearchStringMatcher
A string matcher for search.
Constructor Summary | |
---|---|
SystemSearchStringMatcher(String searchString,
boolean isCaseSensitive,
boolean isRegex)
Constructor to create a string matcher. |
Method Summary | |
---|---|
boolean |
isSearchStringAsterisk()
Returns whether the search string is "*". |
boolean |
isSearchStringEmpty()
Returns whether the search 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 SystemSearchStringMatcher(String searchString, boolean isCaseSensitive, boolean isRegex)
searchString
- the search string.isCaseSensitive
- true
if the matching should be done in a case sensitive manner, false
otherwise.isRegex
- true
if the search string is a regular expression, false
otherwise.
Method Detail |
---|
public boolean isSearchStringEmpty()
true
if the search string is empty, false
otherwise.public boolean isSearchStringAsterisk()
true
if the search string is "*", false
otherwise.public boolean matches(String input)
true
if the search 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.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |