ParagraphFormatterStream

class ParagraphFormatterStream(formatter: ParagraphFormatter, appendable: Appendable) : Appendable

ParagraphFormatterStream wraps an Appendable with a ParagraphFormatter, so that Strings can automatically be formatted by the ParagraphFormatter before being appended to the output stream.

Author

Leslie Schultz

Parameters

formatter

The text formatter.

appendable

The Appendable that receives output text.

Constructors

Link copied to clipboard
fun ParagraphFormatterStream(formatter: ParagraphFormatter, appendable: Appendable)

Construct a new ParagraphFormatterStream.

Functions

Link copied to clipboard
open override fun append(c: Char): Appendable
open override fun append(csq: CharSequence?): Appendable
open override fun append(    csq: CharSequence,     start: Int,     end: Int): Appendable