|
Remote System Explorer DataStore Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.dstore.core.util.Pattern
This class is used to define a wildcard string pattern. Strings can be compared against a pattern to determine whether they match or not.
| Constructor Summary | |
|---|---|
Pattern(String pattern,
ArrayList matchSchema)
Constructor |
|
| Method Summary | |
|---|---|
String |
getSubMatch(String attribute)
Returns a submatch |
ArrayList |
getSubMatches()
Returns a list of submatches |
boolean |
matches(String compareStr)
Checks whther a compare string matches the pattern |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Pattern(String pattern,
ArrayList matchSchema)
pattern - a wildcard stringmatchSchema - | Method Detail |
public ArrayList getSubMatches()
public String getSubMatch(String attribute)
attribute - an attribute to match
public boolean matches(String compareStr)
compareStr - to string to compare
|
Remote System Explorer DataStore Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||