org.apache.droids.handle
Class WriterHandler
java.lang.Object
org.apache.droids.handle.WriterHandler
- Direct Known Subclasses:
- Save, Sysout
public class WriterHandler
- extends Object
Wrapper that allows you to pipe a stream from a reader to a writer via a
buffer
Field Summary |
protected org.apache.commons.logging.Log |
log
|
Method Summary |
protected static void |
pipe(Reader reader,
Writer writer)
Pipes everything from the reader to the writer via a buffer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
WriterHandler
public WriterHandler()
pipe
protected static void pipe(Reader reader,
Writer writer)
throws IOException
- Pipes everything from the reader to the writer via a buffer
- Parameters:
reader
- the underlying read to read fromwriter
- the destination writer
- Throws:
IOException
Copyright © 2008 The Apache Software Foundation