Dummy class for reading from string of characters.
| package |
phing.system.io |
|---|
__construct($string)
skip(int $n)
int
read(int $len = null)
If length is specified, then only that number of chars is read, otherwise stream is read until EOF.
int
mark()
A subsequent call to reset() will move stream position back to last marker (if supported).
reset()
close()
| throws |
if there is an error closing stream |
|---|
open()
ready() : boolean
boolean
markSupported() : boolean
boolean
getResource() : string
This is critical for, e.g., ExpatParser's ability to know the filename that is throwing an ExpatParserException, etc.
string
_string : string
| var |
|---|
string
mark : int
| var |
|---|
int
currPos : int
| var |
|---|
int