org.ofbiz.webapp.ftl
Class LoopWriter
java.lang.Object
java.io.Writer
org.ofbiz.webapp.ftl.LoopWriter
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable
public class LoopWriter
- extends java.io.Writer
Fields inherited from class java.io.Writer |
lock |
Constructor Summary |
LoopWriter(java.io.Writer out)
|
Methods inherited from class java.io.Writer |
append, append, append, write, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoopWriter
public LoopWriter(java.io.Writer out)
onStart
public int onStart()
throws TemplateModelException,
java.io.IOException
- Throws:
TemplateModelException
java.io.IOException
afterBody
public int afterBody()
throws TemplateModelException,
java.io.IOException
- Throws:
TemplateModelException
java.io.IOException
onError
public void onError(java.lang.Throwable t)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Specified by:
close
in class java.io.Writer
- Throws:
java.io.IOException
write
public void write(char[] cbuf,
int off,
int len)
- Specified by:
write
in class java.io.Writer
flush
public void flush()
throws java.io.IOException
- Specified by:
flush
in interface java.io.Flushable
- Specified by:
flush
in class java.io.Writer
- Throws:
java.io.IOException