Abstract class that implements I_Writer while only requiring subclasses
to implement write(string) by providing the
writeByte(), writeChar() and print() implementations.
Also provides methods to convert int/bool/status to string.
|
$write(text)
status @public | Writes text.
|
|
$write(text)
status @public | Writes text converted to a string.
|
|
$write(number)
status @public | Writes number as a decimal number.
|
|
$write(number)
status @public | Writes number as a decimal number.
|
|
$write(number)
status @public | Writes number as a decimal number.
|
|
$write(flag)
status @public | Writes flag as "TRUE" or "FALSE".
|
|
$write(ok)
status @public | Writes ok as "FAIL" or "OK".
|
|
$write(arg)
status @public | Writes arg depending on its actual type.
Returns FAIL or OK.
|
|
$writeByte(byte)
status @public | Writes byte as-is
|
|
$writeChar(char)
status @public | Writes char as a UTF-8 byte sequence.
|
|
$print(text)
status @public | Writes text and appends a newline.
Returns FAIL or OK.
|
|
$print(number)
status @public | Writes number and appends a newline.
Returns FAIL or OK.
|
|
$print(number)
status @public | Writes number and appends a newline.
Returns FAIL or OK.
|
|
$print(number)
status @public | Writes number and appends a newline.
Returns FAIL or OK.
|
|
$print(flag)
status @public | Writes flag as "TRUE" or "FALSE" and appends a newline.
Returns FAIL or OK.
|
|
$print(ok)
status @public | Writes ok as "FAIL" or "OK" and appends a newline.
Returns FAIL or OK.
|
|
$print(arg)
status @public | Writes arg depending on its actual type and appends a newline.
Returns FAIL or OK.
|
|
$print()
status @public | Writes a newline and returns FAIL or OK.
|
|
$format(fmt, arguments)
status @public | Formats the string and writes it with a newline appended.
|
|
Known subclasses: