Class Caverphone2
java.lang.Object
org.apache.commons.codec.language.AbstractCaverphone
org.apache.commons.codec.language.Caverphone2
- All Implemented Interfaces:
Encoder
,StringEncoder
Encodes a string into a Caverphone 2.0 value.
This is an algorithm created by the Caversham Project at the University of Otago. It implements the Caverphone 2.0
algorithm:
- Since:
- 1.5
This class is immutable and thread-safe.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.commons.codec.language.AbstractCaverphone
encode, isEncodeEqual
-
Constructor Details
-
Caverphone2
public Caverphone2()
-
-
Method Details
-
encode
Encodes the given String into a Caverphone 2.0 value.- Parameters:
source
- String the source string- Returns:
- A caverphone code for the given String
-