Class Matcher


public class Matcher
extends java.lang.Object

Class for matching two strings and returning an indicator (threshold) on how these compare. The returned value of match(java.lang.String, java.lang.String) is 0 when no maytch is found, 1 if it is a perfect match. Values in between indicate the level of partial matchings.

Constructor Summary
Method Summary
static void main(java.lang.String[] args)
static float match(java.lang.String firstString, java.lang.String secondString)
          This method will match two string.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Matcher()
Method Detail


public static void main(java.lang.String[] args)


public static float match(java.lang.String firstString,
                          java.lang.String secondString)
This method will match two string. It will return a treshold, 0 indicates absolutely no match, 1 means perfect match.

MMBase 2001