Convenience class for reading console input.
author |
Hans Lellelid hans@xmpl.org |
---|---|
author |
Matthew Hershberger matthewh@lightsp.com |
version |
$Id: c9dfdf68f7fba038727285f2e744c44caec3f513 $ |
package |
phing.system.io |
close()
throws |
if there is an error closing stream |
---|---|
eof() : boolean
boolean
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
open()
read(integer $len = null)
If length is specified, then only that number of chars is read, otherwise stream is read until EOF.
integer
readLine()
ready() : boolean
boolean
reset()
skip(integer $n)
integer