|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.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.
Field Summary | |
---|---|
static String |
Copyright
|
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 |
Field Detail |
public static final String Copyright
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 Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |