phing-system-io

# Class: StringReader Source Location: /system/io/StringReader.php
### Class Overview
    Reader
       |
       --StringReader
Dummy class for reading from string of characters. #### Author(s): Yannick Lecaillez <yl@seasonfive.com> Hans Lellelid <hans@xmpl.org> #### Version: $Revision: 552 $ | ### Methods __construct close getResource mark markSupported open read ready reset skip
### Inherited Methods #### Class: Reader Reader::close() Close stream. Reader::getResource() Returns the filename, url, etc. that is being read from. Reader::mark() If supported, places a "marker" (like a bookmark) at current stream position. Reader::markSupported() Whether marking is supported. Reader::read() Read data from source. Reader::ready() Is stream ready for reading. Reader::reset() Reset the current position in stream to beginning or last mark (if supported). Reader::skip() Move stream position relative to current pos.
### Class Details [line 26] Dummy class for reading from string of characters. #### Tags:
author: | Yannick Lecaillez <yl@seasonfive.com>
author: | Hans Lellelid <hans@xmpl.org>
version: | $Revision: 552 $
[ Top ] ### Class Methods ### constructor __construct [line 43]
`StringReader __construct( $string)`
#### Parameters:
| $string |
[ Top ] ### method close [line 70]
`void close( )`
Overrides Reader::close() (Close stream.) [ Top ] ### method getResource [line 80]
`void getResource( )`
Overrides Reader::getResource() (Returns the filename, url, etc. that is being read from.) [ Top ] ### method mark [line 62]
`void mark( )`
Overrides Reader::mark() (If supported, places a "marker" (like a bookmark) at current stream position.) [ Top ] ### method markSupported [line 76]
`void markSupported( )`
Overrides Reader::markSupported() (Whether marking is supported.) [ Top ] ### method open [line 72]
`void open( )`
[ Top ] ### method read [line 49]
`void read( [ $len = null])`
Overrides Reader::read() (Read data from source.) #### Parameters:
| $len |
[ Top ] ### method ready [line 74]
`void ready( )`
Overrides Reader::ready() (Is stream ready for reading.) [ Top ] ### method reset [line 66]
`void reset( )`
Overrides Reader::reset() (Reset the current position in stream to beginning or last mark (if supported).) [ Top ] ### method skip [line 47]
`void skip( $n)`
Overrides Reader::skip() (Move stream position relative to current pos.) #### Parameters:
| $n |
[ Top ] Documentation generated on Mon, 19 Oct 2009 10:52:04 +0200 by phpDocumentor 1.4.3