com.ibm.etools.systems.dstore.core.util
Class StringCompare
java.lang.Object
com.ibm.etools.systems.dstore.core.util.StringCompare
- public class StringCompare
- extends Object
Utility class for comparing a wildcard string to another string
Method Summary |
static boolean |
compare(String pattern,
String compareStr,
boolean noCase)
Compare two strings |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
StringCompare
public StringCompare()
- Constructor
compare
public static boolean compare(String pattern,
String compareStr,
boolean noCase)
- Compare two strings
- Parameters:
pattern
- the pattern to matchcompareStr
- the string to compare against the patternnoCase
- indicates whether the strings should be compared based on case
- Returns:
- true if the compare string matches the pattern
Copyright © 2005 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.