Convenience class for reading console input.
author |
Hans Lellelid hans@xmpl.org |
---|---|
author |
Matthew Hershberger matthewh@lightsp.com |
version |
$Id: 398bedf237ea340a7a02d4c77a480a4cd7a34e0c $ |
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() : string
string
ready() : boolean
boolean
reset()
skip(integer $n)
integer