public class CallbackWriter extends Writer implements freemarker.template.TransformControl
| Constructor and Description |
|---|
CallbackWriter(Component bean,
Writer writer) |
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionpublic int onStart()
throws freemarker.template.TemplateModelException,
IOException
onStart in interface freemarker.template.TransformControlfreemarker.template.TemplateModelExceptionIOExceptionpublic int afterBody()
throws freemarker.template.TemplateModelException,
IOException
afterBody in interface freemarker.template.TransformControlfreemarker.template.TemplateModelExceptionIOExceptionpublic void onError(Throwable throwable) throws Throwable
onError in interface freemarker.template.TransformControlThrowablepublic Component getBean()
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.