class StringWriter
source · line 14public
public class StringWriter public constructor() : TextWriter, ToString
- Supertype
TextWriter - Supertype
ToString
An in-memory TextWriter backed by a StringBuilder.
function write
source · line 20public
public override fun write(text: String): Unit
- Overrides
write· TextWriter
Appends text to the in-memory result.
parameter text
source · line 20public
text: String
function toString
source · line 27public
public override fun toString(): String
- Overrides
toString· ToString
Returns all text written so far.
constructor constructor
source · line 14public
constructor()