Package com.ibm.icu.text
Class Normalizer.CharsAppendable
- java.lang.Object
-
- com.ibm.icu.text.Normalizer.CharsAppendable
-
- All Implemented Interfaces:
java.lang.Appendable
- Enclosing class:
- Normalizer
private static final class Normalizer.CharsAppendable extends java.lang.Object implements java.lang.Appendable
An Appendable that writes into a char array with a capacity that may be less than array.length. (By contrast, CharBuffer will write beyond destLimit all the way up to array.length.)An overflow is only reported at the end, for the old Normalizer API functions that write to char arrays.
-
-
Constructor Summary
Constructors Constructor Description CharsAppendable(char[] dest, int destStart, int destLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Appendable
append(char c)
java.lang.Appendable
append(java.lang.CharSequence s)
java.lang.Appendable
append(java.lang.CharSequence s, int sStart, int sLimit)
int
length()
-
-
-
Method Detail
-
length
public int length()
-
append
public java.lang.Appendable append(char c)
- Specified by:
append
in interfacejava.lang.Appendable
-
append
public java.lang.Appendable append(java.lang.CharSequence s)
- Specified by:
append
in interfacejava.lang.Appendable
-
append
public java.lang.Appendable append(java.lang.CharSequence s, int sStart, int sLimit)
- Specified by:
append
in interfacejava.lang.Appendable
-
-