Module java.base
Package java.lang

Interface Appendable

All Known Implementing Classes:
BufferedWriter,CharArrayWriter,CharBuffer,FileWriter,FilterWriter,LogStream,OutputStreamWriter,PipedWriter,PrintStream,PrintWriter,StringBuffer,StringBuilder,StringWriter,Writer

public interfaceAppendable
An object to whichchar sequences and values can be appended. TheAppendable interface must be implemented by any class whose instances are intended to receive formatted output from aFormatter.

The characters to be appended should be valid Unicode characters as described inUnicode Character Representation. Note that supplementary characters may be composed of multiple 16-bitchar values.

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

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.

Since:
1.5