Caverphone2, will be removed in 2.0.@Deprecated public class Caverphone extends Object implements StringEncoder
Caverphone2 instance.
This is an algorithm created by the Caversham Project at the University of Otago. It implements the Caverphone 2.0
algorithm:| 构造器和说明 |
|---|
Caverphone()
已过时。
Creates an instance of the Caverphone encoder
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
caverphone(String source)
已过时。
Encodes the given String into a Caverphone value.
|
Object |
encode(Object obj)
已过时。
Encodes an Object using the caverphone algorithm.
|
String |
encode(String str)
已过时。
Encodes a String using the Caverphone algorithm.
|
boolean |
isCaverphoneEqual(String str1,
String str2)
已过时。
Tests if the caverphones of two strings are identical.
|
public String caverphone(String source)
source - String the source stringpublic Object encode(Object obj) throws EncoderException
encode 在接口中 Encoderobj - Object to encodeEncoderException - if the parameter supplied is not of type java.lang.Stringpublic String encode(String str)
encode 在接口中 StringEncoderstr - String object to encodeCopyright © 2017. All rights reserved.