public class RockerWriterOutput extends com.fizzed.rocker.runtime.AbstractRockerOutput<RockerWriterOutput>
Writer implementation of RockerOutput.| Constructor and Description | 
|---|
| RockerWriterOutput(java.io.Writer writer,
                  com.fizzed.rocker.ContentType contentType,
                  java.nio.charset.Charset charset)Creates a new instance of the Rocker writer output. | 
| RockerWriterOutput(java.io.Writer writer,
                  com.fizzed.rocker.ContentType contentType,
                  java.lang.String charsetName)Creates a new instance of the Rocker writer output. | 
| Modifier and Type | Method and Description | 
|---|---|
| com.fizzed.rocker.runtime.AbstractRockerOutput<RockerWriterOutput> | w(byte[] bytes) | 
| com.fizzed.rocker.runtime.AbstractRockerOutput<RockerWriterOutput> | w(java.lang.String string) | 
getByteLength, getCharset, getContentTypepublic RockerWriterOutput(java.io.Writer writer,
                          com.fizzed.rocker.ContentType contentType,
                          java.lang.String charsetName)
writer - The writer to render the templates tocontentType - The content type of the outputcharsetName - The charset of the outputpublic RockerWriterOutput(java.io.Writer writer,
                          com.fizzed.rocker.ContentType contentType,
                          java.nio.charset.Charset charset)
writer - The writer to render the templates tocontentType - The content type of the outputcharset - The charset of the outputpublic com.fizzed.rocker.runtime.AbstractRockerOutput<RockerWriterOutput> w(java.lang.String string) throws java.io.IOException
java.io.IOExceptionpublic com.fizzed.rocker.runtime.AbstractRockerOutput<RockerWriterOutput> w(byte[] bytes) throws java.io.IOException
java.io.IOException