|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Writer gnu.lists.ConsumerWriter
public class ConsumerWriter
A Writer that wraps (filters) a Consumer.
Field Summary | |
---|---|
protected Consumer |
out
|
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
ConsumerWriter(Consumer out)
|
Method Summary | |
---|---|
void |
close()
|
void |
finalize()
|
void |
flush()
|
void |
write(char[] buffer,
int offset,
int length)
|
Methods inherited from class java.io.Writer |
---|
append, append, append, write, write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Consumer out
Constructor Detail |
---|
public ConsumerWriter(Consumer out)
Method Detail |
---|
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 class java.io.Writer
public void finalize()
finalize
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |