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 Closeable
close
in interface AutoCloseable
close
in class Writer
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class Writer
IOException
public void write(char[] cbuf, int off, int len) throws IOException
write
in class Writer
IOException
public int onStart() throws freemarker.template.TemplateModelException, IOException
onStart
in interface freemarker.template.TransformControl
freemarker.template.TemplateModelException
IOException
public int afterBody() throws freemarker.template.TemplateModelException, IOException
afterBody
in interface freemarker.template.TransformControl
freemarker.template.TemplateModelException
IOException
public void onError(Throwable throwable) throws Throwable
onError
in interface freemarker.template.TransformControl
Throwable
public Component getBean()
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.