org.melati.template.webmacro
Class MelatiFastWriter
java.lang.Object
java.io.Writer
org.melati.util.MelatiWriter
org.melati.template.webmacro.MelatiFastWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable, MelatiWebmacroWriter
- Direct Known Subclasses:
- MelatiBufferedFastWriter
public class MelatiFastWriter
- extends MelatiWriter
- implements MelatiWebmacroWriter
Writes to an output object.
Method Summary |
org.webmacro.FastWriter |
getFastWriter()
Return a FastWriter that can be used for a while instead. |
void |
stopUsingFastWriter(org.webmacro.FastWriter fw)
Stop using the given FastWriter obtained from
this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outputStream
protected OutputStream outputStream
MelatiFastWriter
public MelatiFastWriter(org.webmacro.Broker broker,
javax.servlet.http.HttpServletResponse response)
throws IOException
- Constructor.
- Throws:
IOException
MelatiFastWriter
public MelatiFastWriter(org.webmacro.Broker broker,
OutputStream output,
String encoding)
- Constructor.
getFastWriter
public org.webmacro.FastWriter getFastWriter()
- Return a
FastWriter
that can be used for a while instead.
- Specified by:
getFastWriter
in interface MelatiWebmacroWriter
- Returns:
- a FastWriter
- See Also:
stopUsingFastWriter(FastWriter)
stopUsingFastWriter
public void stopUsingFastWriter(org.webmacro.FastWriter fw)
- Stop using the given
FastWriter
obtained from
this object.
- Specified by:
stopUsingFastWriter
in interface MelatiWebmacroWriter
- See Also:
#getFastWriter(TemplateEngine)
Copyright © 2000-2010 PanEris. All Rights Reserved.