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; false
otherwise.public static boolean testWildcardIgnoreCase(String pattern, String str)
pattern
- the input patternstr
- the string to testtrue
if a match occurs; false
otherwise.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.