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 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 boolean isEmpty()
public void write(char[] cbuf, int off, int len) throws IOException
write
in class Writer
IOException
public void writeBlock(BlockWriter bw)
public void writeSuperBlock()
public void copyTo(Writer writer) throws freemarker.template.TemplateException, IOException
freemarker.template.TemplateException
IOException
Copyright © 2018 Nuxeo. All rights reserved.