Wrapper class for readers, which can be used to apply filters.
package |
phing.system.io |
---|
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
reset()
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
ready() : boolean
boolean