public abstract class AbstractCaverphone extends java.lang.Object implements StringEncoder
This class is immutable and thread-safe.
| Constructor and Description |
|---|
AbstractCaverphone() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
encode(java.lang.Object source)
Encodes an Object using the caverphone algorithm.
|
boolean |
isEncodeEqual(java.lang.String str1,
java.lang.String str2)
Tests if the encodings of two strings are equal.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitencodepublic java.lang.Object encode(java.lang.Object source)
throws EncoderException
encode in interface Encodersource - Object to encodeEncoderException - if the parameter supplied is not of type java.lang.Stringpublic boolean isEncodeEqual(java.lang.String str1,
java.lang.String str2)
throws EncoderException
str1 - First of two strings to comparestr2 - Second of two strings to comparetrue if the encodings of these strings are identical, false otherwise.EncoderException - thrown if there is an error condition during the encoding process.Copyright © 2010 - 2023 Adobe. All Rights Reserved