public static class TrimDirective.TrimWriter
extends java.io.Writer
| Constructor and Description |
|---|
TrimWriter(java.io.Writer out,
TrimDirective.TrimSymbol symbols) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterWrite() |
void |
close() |
void |
flush() |
static TrimDirective.TrimWriter |
of(java.io.Writer out,
TrimDirective.TrimSymbol symbols) |
void |
render(freemarker.template.TemplateDirectiveBody body) |
void |
write(char[] cbuf,
int off,
int len) |
public TrimWriter(java.io.Writer out,
TrimDirective.TrimSymbol symbols)
public static TrimDirective.TrimWriter of(java.io.Writer out, TrimDirective.TrimSymbol symbols)
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void afterWrite()
throws java.io.IOException
java.io.IOExceptionpublic void render(freemarker.template.TemplateDirectiveBody body)
throws java.io.IOException,
freemarker.template.TemplateException
java.io.IOExceptionfreemarker.template.TemplateExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.Writerjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Writerjava.io.IOException