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