Class TTextWriter
Direct Known Sub-classes:
TTextWriter class.
TTextWriter implements a memory-based text writer. Content written by TTextWriter are stored in memory and can be obtained by calling flush().
| Method Summary |
|
string
|
Flushes the content that has been written.
|
|
void
|
Writes a string.
|
|
void
|
Writers a string and terminates it with a newline.
|
| Methods Inherited From TComponent |
|
TComponent::addParsedObject(), TComponent::attachEventHandler(), TComponent::canGetProperty(), TComponent::canSetProperty(), TComponent::createdOnTemplate(), TComponent::detachEventHandler(), TComponent::evaluateExpression(), TComponent::evaluateStatements(), TComponent::getEventHandlers(), TComponent::getSubProperty(), TComponent::hasEvent(), TComponent::hasEventHandler(), TComponent::hasProperty(), TComponent::raiseEvent(), TComponent::setSubProperty(), TComponent::__get(), TComponent::__set()
|
| Method Details |
flush
Flushes the content that has been written.
| Output |
|
string
| the content being flushed |
| Exception |
|
write
| public void write |
(string $str ) |
Writes a string.
| Input |
| string | $str | string to be written |
| Output |
| Exception |
|
writeLine
| public void writeLine |
(string $str ) |
Writers a string and terminates it with a newline.
| Input |
| string | $str | content to be written |
| Output |
| Exception |
|
|