- <init>
- add
Adds text to the current line, without terminating the line.
- addln
Adds text to the current line then terminates the line.
- begin
Begins a new block. Emits a "{", properly indented, on a new line.
- end
Ends the current block. Emits a "}", propertly indented, on a new line.
- toString
Returns the current contents of the buffer.
- addQuoted
Adds the text to the current line, surrounded by double quotes.Does not escape
quotes in the text.
- clear
Clears the builder, returning it to its initial, empty state.
- indent
- newline