Interface RockerOutput<T extends RockerOutput>

    • Method Detail

      • getCharset

        java.nio.charset.Charset getCharset()
      • w

        T w​(java.lang.String string)
        throws java.io.IOException
        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:
        java.io.IOException - Thrown on exception.
      • w

        T w​(byte[] bytes)
        throws java.io.IOException
        Throws:
        java.io.IOException
      • getByteLength

        int getByteLength()
      • toString

        java.lang.String toString()
        Overrides:
        toString in class java.lang.Object