org.melati.template.velocity
Class MelatiBufferedVelocityWriter
java.lang.Object
java.io.Writer
org.melati.util.MelatiWriter
org.melati.template.velocity.MelatiVelocityWriter
org.melati.template.velocity.MelatiBufferedVelocityWriter
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable
public class MelatiBufferedVelocityWriter
- extends MelatiVelocityWriter
Provides an interface for objects that output from melati.
| Fields inherited from class java.io.Writer |
lock |
| 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 |
MelatiBufferedVelocityWriter
public MelatiBufferedVelocityWriter(java.io.OutputStream output,
java.lang.String encoding)
throws java.io.IOException
- Constructor.
- Parameters:
output - OutputStream to write toencoding - character encoding to use
- Throws:
java.io.IOException
MelatiBufferedVelocityWriter
public MelatiBufferedVelocityWriter(javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Constructor.
- Parameters:
response - from which to get OutputSteram and encoding
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
-
- Specified by:
close in interface java.io.Closeable- Overrides:
close in class MelatiVelocityWriter
- Throws:
java.io.IOException- See Also:
MelatiVelocityWriter.close()
flush
public void flush()
throws java.io.IOException
-
- Specified by:
flush in interface java.io.Flushable- Overrides:
flush in class MelatiWriter
- Throws:
java.io.IOException- See Also:
MelatiWriter.flush()
reset
public void reset()
throws java.io.IOException
- Hook for extension.
- Overrides:
reset in class MelatiWriter
- Throws:
java.io.IOException- See Also:
MelatiWriter.reset()
Copyright © 2000-2008 PanEris. All Rights Reserved.