Class ColognePhonetic.CologneOutputBuffer
- java.lang.Object
-
- org.apache.commons.codec.language.ColognePhonetic.CologneBuffer
-
- org.apache.commons.codec.language.ColognePhonetic.CologneOutputBuffer
-
- Enclosing class:
- ColognePhonetic
private class ColognePhonetic.CologneOutputBuffer extends ColognePhonetic.CologneBuffer
-
-
Field Summary
Fields Modifier and Type Field Description private char
lastCode
-
Fields inherited from class org.apache.commons.codec.language.ColognePhonetic.CologneBuffer
data, length
-
-
Constructor Summary
Constructors Constructor Description CologneOutputBuffer(int buffSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected char[]
copyData(int start, int length)
void
put(char code)
Stores the next code in the output buffer, keeping track of the previous code.-
Methods inherited from class org.apache.commons.codec.language.ColognePhonetic.CologneBuffer
length, toString
-
-
-
-
Method Detail
-
put
public void put(char code)
Stores the next code in the output buffer, keeping track of the previous code. '0' is only stored if it is the first entry. Ignored chars are never stored. If the code is the same as the last code (whether stored or not) it is not stored.- Parameters:
code
- the code to store.
-
copyData
protected char[] copyData(int start, int length)
- Specified by:
copyData
in classColognePhonetic.CologneBuffer
-
-