Package com.ibm.icu.text
Class Normalizer.CharsAppendable
java.lang.Object
com.ibm.icu.text.Normalizer.CharsAppendable
- All Implemented Interfaces:
Appendable
- Enclosing class:
- Normalizer
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend
(char c) append
(CharSequence s, int sStart, int sLimit) int
length()
-
Field Details
-
chars
private final char[] chars -
start
private final int start -
limit
private final int limit -
offset
private int offset
-
-
Constructor Details
-
CharsAppendable
public CharsAppendable(char[] dest, int destStart, int destLimit)
-
-
Method Details
-
length
public int length() -
append
- Specified by:
append
in interfaceAppendable
-
append
- Specified by:
append
in interfaceAppendable
-
append
- Specified by:
append
in interfaceAppendable
-