public class Matcher extends Object
| Constructor and Description |
|---|
Matcher() |
| Modifier and Type | Method and Description |
|---|---|
static int |
LevenshteinDistance(String a,
String b) |
static boolean |
LevenshteinMatch(ArrayList<String> fpALActuell,
ArrayList<String> fpALExpected,
int fpiDistance) |
static boolean |
LevenshteinMatch(String fpsActuell,
String fpsExpected,
int fpiDistance) |
static boolean |
RegexMatch(ArrayList<String> fpALActuell,
ArrayList<String> fpALExpected) |
static boolean |
RegexMatch(String fpsActuell,
String fpsExpectedRegex) |
static boolean |
WildcardMatch(ArrayList<String> fpALActuell,
ArrayList<String> fpALExpected) |
static boolean |
WildcardMatch(String fpsActuell,
String fpsExpected) |
public static boolean LevenshteinMatch(String fpsActuell, String fpsExpected, int fpiDistance)
public static boolean LevenshteinMatch(ArrayList<String> fpALActuell, ArrayList<String> fpALExpected, int fpiDistance)
fpsActuell - Text to testfpsExpected - (Wildcard) pattern to testpublic static boolean WildcardMatch(String fpsActuell, String fpsExpected)
fpsActuell - Text to testfpsExpected - (Wildcard) pattern to testpublic static boolean WildcardMatch(ArrayList<String> fpALActuell, ArrayList<String> fpALExpected)
fpsActuell - Text to testfpsExpected - (Wildcard) pattern to testCopyright © 2019 OpenKeyWord. All rights reserved.