public class BlockWriter extends Writer
| Constructor and Description |
|---|
BlockWriter(String page,
String name,
BlockWriterRegistry reg) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
copyTo(Writer writer) |
void |
flush() |
BlockWriterRegistry |
getRegistry() |
boolean |
getSuppressOutput() |
boolean |
isEmpty() |
void |
setSuppressOutput(boolean suppressOutput) |
String |
toString() |
void |
write(char[] cbuf,
int off,
int len) |
void |
writeBlock(BlockWriter bw) |
void |
writeSuperBlock() |
public BlockWriter(String page, String name, BlockWriterRegistry reg)
public final BlockWriterRegistry getRegistry()
public void setSuppressOutput(boolean suppressOutput)
public boolean getSuppressOutput()
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 boolean isEmpty()
public void write(char[] cbuf, int off, int len) throws IOException
write in class WriterIOExceptionpublic void writeBlock(BlockWriter bw)
public void writeSuperBlock()
public void copyTo(Writer writer) throws freemarker.template.TemplateException, IOException
freemarker.template.TemplateExceptionIOExceptionCopyright © 2018 Nuxeo. All rights reserved.