org.apache.droids.handle
Class WriterHandler

Package class diagram package WriterHandler
java.lang.Object
  extended by 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
           
 
Constructor Summary
WriterHandler()
           
 
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
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

WriterHandler

public WriterHandler()
Method Detail

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 from
writer - the destination writer
Throws:
IOException


Copyright © 2008 The Apache Software Foundation