|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.internal.propertytester.StringMatcher
public class StringMatcher
A string pattern matcher, supporting "*" and "?" wild cards.
| Constructor Summary | |
|---|---|
StringMatcher(java.lang.String pattern)
StringMatcher constructor takes in a String object that is a simple pattern which may contain '*' for 0 and many characters and '?' for exactly one character. |
|
| Method Summary | |
|---|---|
boolean |
match(java.lang.String text)
Given the starting (inclusive) and the ending (exclusive) positions in the text, determine if the given substring matches with aPattern |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringMatcher(java.lang.String pattern)
pattern - the pattern to match text against| Method Detail |
|---|
public boolean match(java.lang.String text)
text, determine if the given substring matches with aPattern
text - a String object that contains the substring to match
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||