Package com.ibm.icu.text
Class MessageFormat.AppendableWrapper
java.lang.Object
com.ibm.icu.text.MessageFormat.AppendableWrapper
- Enclosing class:
MessageFormat
Convenience wrapper for Appendable, tracks the result string length.
Also, Appendable throws IOException, and we turn that into a RuntimeException
so that we need no throws clauses.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Appendableprivate List<MessageFormat.AttributeAndPosition> private int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intappend(Appendable result, CharacterIterator iterator) voidvoidappend(CharSequence s, int start, int limit) voidappend(CharacterIterator iterator) voidformatAndAppend(Format formatter, Object arg) voidformatAndAppend(Format formatter, Object arg, String argString) void
-
Field Details
-
app
-
length
private int length -
attributes
-
-
Constructor Details
-
AppendableWrapper
-
AppendableWrapper
-
-
Method Details
-
useAttributes
public void useAttributes() -
append
-
append
-
append
-
append
-
formatAndAppend
-
formatAndAppend
-