org.mvel2.util
Class Soundex
java.lang.Object
org.mvel2.util.Soundex
public class Soundex
- extends Object
An implementation of Knuth's soundex algorithm. Used by the soundslike operator.
Field Summary |
static char[] |
MAP
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAP
public static final char[] MAP
Soundex
public Soundex()
soundex
public static String soundex(String s)
- Convert the given String to its Soundex code.
- Parameters:
s
- input string
- Returns:
- null If the given string can't be mapped to Soundex.
Copyright © 2011. All Rights Reserved.