Appendable

An object to which {@code char} sequences and values can be appended. The {@code Appendable} interface must be implemented by any class whose instances are intended to receive formatted output from a {@link java.util.Formatter}.

<p> The characters to be appended should be valid Unicode characters as described in <a href="Character.html#unicode">Unicode Character Representation</a>. Note that supplementary characters may be composed of multiple 16-bit {@code char} values.

<p> Appendables are not necessarily safe for multithreaded access. Thread safety is the responsibility of classes that extend and implement this interface.

<p> Since this interface may be implemented by existing classes with different styles of error handling there is no guarantee that errors will be propagated to the invoker.

Members

Functions

append
Appendable append(string csq)

Appends the specified character sequence to this {@code Appendable}.

append
Appendable append(char c)

Appends the specified character to this {@code Appendable}.

Meta