java.io · java.base · since Java 1.1
Writer
public abstract class Writer implements Appendable, Closeable, FlushableThe abstract character sink. OutputStreamWriter encodes to bytes; PrintWriter adds println/printf conveniences.
Key methods
void write(String str) | The common case. |
Writer append(CharSequence csq) | Chaining-friendly. |