public final class SimpleWildcardTester extends Object
| Constructor and Description |
|---|
SimpleWildcardTester() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
testWildcard(String pattern,
String str)
Returns whether a string matches a particular pattern.
|
static boolean |
testWildcardIgnoreCase(String pattern,
String str)
Returns whether a string matches a particular pattern.
|
public static boolean testWildcard(String pattern, String str)
pattern - the input patternstr - the string to testtrue if a match occurs; falseotherwise.public static boolean testWildcardIgnoreCase(String pattern, String str)
pattern - the input patternstr - the string to testtrue if a match occurs; falseotherwise.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.