public class ConsumerWriter
extends java.io.Writer
Constructor and Description |
---|
ConsumerWriter(Consumer out) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
finalize() |
void |
flush() |
void |
write(char[] buffer,
int offset,
int length) |
protected Consumer out
public ConsumerWriter(Consumer out)
public void write(char[] buffer, int offset, int length)
write
in class java.io.Writer
public void flush()
flush
in interface java.io.Flushable
flush
in class java.io.Writer
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Writer
public void finalize()
finalize
in class java.lang.Object