com.samskivert.super.java.io.StringWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmustache Show documentation
Show all versions of jmustache Show documentation
A Java implementation of the Mustache templating language.
//
// $Id$
package java.io;
/**
* A basic implementation of {@code StringReader} for use in GWT.
*/
public class StringWriter extends Writer
{
public void write (String text) throws IOException {
_buf.append(text);
}
@Override public String toString () {
return _buf.toString();
}
protected final StringBuilder _buf = new StringBuilder();
}