Class StringWriter
Defined in: core.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Creates an instance of a string buffer in which characters can be added.
|
Method Attributes | Method Name and Description |
---|---|
toString(string)
Returns the string stored in buffer.
|
|
write(string)
Appends the given string to the buffer.
|
Class Detail
StringWriter()
Creates an instance of a string buffer in which characters can be added.
Adapted from java.io.StringWriter
Method Detail
{string}
toString(string)
Returns the string stored in buffer.
- Parameters:
- string
- Returns:
- {string} string
write(string)
Appends the given string to the buffer.
- Parameters:
- {string} string