org.melati.template.webmacro
Class MelatiBufferedFastWriter

java.lang.Object
  extended by java.io.Writer
      extended by org.melati.util.MelatiWriter
          extended by org.melati.template.webmacro.MelatiFastWriter
              extended by org.melati.template.webmacro.MelatiBufferedFastWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable, MelatiWebmacroWriter

public class MelatiBufferedFastWriter
extends MelatiFastWriter

Writes to a buffered output object.


Field Summary
 
Fields inherited from class org.melati.template.webmacro.MelatiFastWriter
outputStream
 
Fields inherited from class org.melati.util.MelatiWriter
flush, out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
MelatiBufferedFastWriter(org.webmacro.Broker broker, javax.servlet.http.HttpServletResponse response)
          Constructor.
MelatiBufferedFastWriter(org.webmacro.Broker broker, java.io.OutputStream output, java.lang.String encoding)
          Constructor.
 
Method Summary
 void close()
          
 void flush()
          
 void reset()
          Hook for extension.
 
Methods inherited from class org.melati.template.webmacro.MelatiFastWriter
getFastWriter, getOutputStream, getPeer, stopUsingFastWriter
 
Methods inherited from class org.melati.util.MelatiWriter
getPrintWriter, getWriter, setFlushingOn, startFlushing, write, write
 
Methods inherited from class java.io.Writer
append, append, append, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MelatiBufferedFastWriter

public MelatiBufferedFastWriter(org.webmacro.Broker broker,
                                java.io.OutputStream output,
                                java.lang.String encoding)
                         throws java.io.IOException
Constructor.

Throws:
java.io.IOException

MelatiBufferedFastWriter

public MelatiBufferedFastWriter(org.webmacro.Broker broker,
                                javax.servlet.http.HttpServletResponse response)
                         throws java.io.IOException
Constructor.

Throws:
java.io.IOException
Method Detail

close

public void close()
           throws java.io.IOException
Description copied from class: MelatiWriter

Specified by:
close in interface java.io.Closeable
Overrides:
close in class MelatiWriter
Throws:
java.io.IOException
See Also:
Writer.close()

flush

public void flush()
           throws java.io.IOException
Description copied from class: MelatiWriter

Specified by:
flush in interface java.io.Flushable
Overrides:
flush in class MelatiWriter
Throws:
java.io.IOException
See Also:
Writer.flush()

reset

public void reset()
           throws java.io.IOException
Description copied from class: MelatiWriter
Hook for extension.

Overrides:
reset in class MelatiWriter
Throws:
java.io.IOException


Copyright © 2000-2008 PanEris. All Rights Reserved.