Class RoutablePrintWriter

java.lang.Object
java.io.Writer
java.io.PrintWriter
com.opensymphony.module.sitemesh.filter.RoutablePrintWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class RoutablePrintWriter extends PrintWriter
Provides a PrintWriter that routes through to another PrintWriter, however the destination can be changed at any point. The destination can be passed in using a factory, so it will not be created until it's actually needed.
Version:
$Revision: 1.1 $
Author:
Joe Walnes