Package com.fizzed.rocker
Interface RockerOutput<T extends RockerOutput>
- Type Parameters:
T-
- All Known Implementing Classes:
AbstractRockerOutput,ArrayOfByteArraysOutput,OutputStreamOutput,StringBuilderOutput
public interface RockerOutput<T extends RockerOutput>
-
Method Details
-
getContentType
ContentType getContentType() -
getCharset
Charset getCharset() -
w
Writes a String to the output. Implementations are responsible for handling the conversion to the correct charset. Note that underlying implementations may be optimized to handle Strings vs. Bytes.- Parameters:
string- The string to write- Returns:
- This output (so builder pattern can be used)
- Throws:
IOException- Thrown on exception.
-
w
- Throws:
IOException
-
getByteLength
int getByteLength() -
toString
String toString()
-