Class DoubleMetaphone.DoubleMetaphoneResult
- java.lang.Object
-
- org.apache.commons.codec.language.DoubleMetaphone.DoubleMetaphoneResult
-
- Enclosing class:
- DoubleMetaphone
public class DoubleMetaphone.DoubleMetaphoneResult extends java.lang.Object
Inner class for storing results, since there is the optional alternate encoding.
-
-
Constructor Summary
Constructors Constructor Description DoubleMetaphoneResult(int maxLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(char value)
void
append(char primary, char alternate)
void
append(java.lang.String value)
void
append(java.lang.String primary, java.lang.String alternate)
void
appendAlternate(char value)
void
appendAlternate(java.lang.String value)
void
appendPrimary(char value)
void
appendPrimary(java.lang.String value)
java.lang.String
getAlternate()
java.lang.String
getPrimary()
boolean
isComplete()
-
-
-
Method Detail
-
append
public void append(char value)
-
append
public void append(char primary, char alternate)
-
appendPrimary
public void appendPrimary(char value)
-
appendAlternate
public void appendAlternate(char value)
-
append
public void append(java.lang.String value)
-
append
public void append(java.lang.String primary, java.lang.String alternate)
-
appendPrimary
public void appendPrimary(java.lang.String value)
-
appendAlternate
public void appendAlternate(java.lang.String value)
-
getPrimary
public java.lang.String getPrimary()
-
getAlternate
public java.lang.String getAlternate()
-
isComplete
public boolean isComplete()
-
-