Abstract class for reading character streams.
author |
Hans Lellelid hans@xmpl.org |
---|---|
author |
Yannick Lecaillez yl@seasonfive.com |
version |
$Id: 8a35dcc259201dd7a13cb653111a9bb230c0f895 $ |
package |
phing.system.io |
close()
throws |
if there is an error closing stream |
---|---|
getResource() : string
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
read(integer $len = null)
If length is specified, then only that number of chars is read, otherwise stream is read until EOF.
integer
ready() : boolean
boolean
reset()
skip(integer $n)
integer