org.melati.util
Class MelatiStringWriter
java.lang.Object
java.io.Writer
org.melati.util.MelatiWriter
org.melati.util.MelatiStringWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
- Direct Known Subclasses:
- MelatiWebmacroStringWriter
public class MelatiStringWriter
- extends MelatiWriter
Wrap up StringWriter
as a MelatiWriter
.
Method Summary |
void |
reset()
Do nothing in the unbuffered case. |
String |
toString()
Returns the buffer contents. |
MelatiStringWriter
public MelatiStringWriter()
- Constructor.
reset
public void reset()
throws IOException
- Do nothing in the unbuffered case.
- Overrides:
reset
in class MelatiWriter
- Throws:
IOException
- in some implementations- See Also:
MelatiWriter.reset()
toString
public String toString()
- Returns the buffer contents.
Delegated to java.io.StringBuffer
.
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2000-2010 PanEris. All Rights Reserved.