info.magnolia.rendering.engine
Class AppendableOnlyOutputProvider

java.lang.Object
  extended by info.magnolia.rendering.engine.AppendableOnlyOutputProvider
All Implemented Interfaces:
OutputProvider

public class AppendableOnlyOutputProvider
extends Object
implements OutputProvider

Output provider wrapping only Appendable and not providing output stream.

Version:
$Id$

Constructor Summary
AppendableOnlyOutputProvider(Appendable out)
           
 
Method Summary
 Appendable getAppendable()
           
 OutputStream getOutputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppendableOnlyOutputProvider

public AppendableOnlyOutputProvider(Appendable out)
Method Detail

getAppendable

public Appendable getAppendable()
                         throws IOException
Specified by:
getAppendable in interface OutputProvider
Throws:
IOException

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Specified by:
getOutputStream in interface OutputProvider
Throws:
IOException


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.