Objects that implement this
interface can have characters or character sequences appended to
them. Appendable was added in Java 5.0 as a simple
unifying API for StringBuffer and
StringBuilder,
java.nio.CharBuffer, and character output stream
subclasses of java.io.Writer. The
java.util.Formatter class can send formatted
output to any Appendable object. See also
Readable.
public interface Appendable {
// Public Instance Methods
Appendable append(char c) throws java.io.IOException;
Appendable append(CharSequence csq) throws java.io.IOException;
Appendable append(CharSequence csq, int start, int end) throws java.io.IOException;
}
Implementations
java.io.PrintStream,
java.io.Writer,
java.nio.CharBuffer
Passed To
java.util.Formatter.Formatter( )
Returned By
Too many methods to list.
|