org.melati.template.webmacro
Class MelatiBufferedFastWriter

Package class diagram package 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:
Closeable, Flushable, 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, OutputStream output, String encoding)
          Constructor.
 
Method Summary
 void close()
          
 void flush()
          
 void reset()
          Do nothing in the unbuffered case.
 
Methods inherited from class org.melati.template.webmacro.MelatiFastWriter
getFastWriter, stopUsingFastWriter
 
Methods inherited from class org.melati.util.MelatiWriter
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,
                                javax.servlet.http.HttpServletResponse response)
                         throws IOException
Constructor.

Throws:
IOException

MelatiBufferedFastWriter

public MelatiBufferedFastWriter(org.webmacro.Broker broker,
                                OutputStream output,
                                String encoding)
Constructor.

Method Detail

close

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

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

flush

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

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

reset

public void reset()
           throws IOException
Description copied from class: MelatiWriter
Do nothing in the unbuffered case.

Overrides:
reset in class MelatiWriter
Throws:
IOException - in some implementations


Copyright © 2000-2010 PanEris. All Rights Reserved.