Convenience class for reading console input.
| author | Hans Lellelid |
|---|---|
| author | Matthew Hershberger |
| version | $Id$ |
| package | phing.system.io |
eof() : boolean
booleangetResource() : 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.
stringmark()
A subsequent call to reset() will move stream position back to last marker (if supported).
| inherited_from | \Reader::mark() |
|---|
markSupported() : boolean
| inherited_from | \Reader::markSupported() |
|---|
booleanopen()
read(int $len) : string
If length is specified, then only that number of chars is read, otherwise stream is read until EOF.
intNum chars to read.
stringchars read or -1 if eof.readLine()
ready() : boolean
| inherited_from | \Reader::ready() |
|---|
booleanreset()
| inherited_from | \Reader::reset() |
|---|
skip(int $n)
| inherited_from | \Reader::skip() |
|---|
int