Expands Phing Properties, if any, in the data.
<
p>
Example:
Or:
author Yannick Lecaillez yl@seasonfive.com
author Hans Lellelid hans@xmpl.org
version $Id: d6bb7717db7cf2b122cbdcb93e5bb0f45d97ec52 $
see package phing.filters
Methods
Set level of log messages generated (default = info)
setLevel(string $level)
Arguments
$level
string
Read data from source.
read(int $len = null)inherited abstractIf length is specified, then only that number of chars is read, otherwise stream is read until EOF.
Arguments
$len
int
Creates a new ExpandProperties filter using the passed in Reader for instantiation.
chain(\Reader $reader) : object
Arguments
Response
object
A new filter based on this configuration, but filtering the specified reader
Returns the initialized status.
getInitialized() : booleaninherited
Response
boolean
whether or not the filter is initialized
Sets the initialized status.
setInitialized(boolean $initialized)inherited
Arguments
$initialized
boolean
Whether or not the filter is initialized.
Sets the project to work with.
setProject(object $project)inherited
Arguments
$project
object
The project this filter is part of. Should not be
null
.Returns the project this filter is part of.
getProject() : objectinherited
Response
object
The project this filter is part of
Reads a line of text ending with '\n' (or until the end of the stream).
readLine() : \theinheritedThe returned String retains the '\n'.
throws if the underlying reader throws one during reading
Response
\the
line read, or
null
if the end of the stream has already been reachedReturns whether the end of file has been reached with input stream.
eof() : booleaninherited
Response
boolean
Convenience method to support logging in filters.
log(string $msg, int $level = \Project::MSG_INFO)inherited
Arguments
$msg
string
Message to log.
$level
int
Priority level.
Move stream position relative to current pos.
skip(int $n)inherited
Arguments
$n
int
Reset the current position in stream to beginning or last mark (if supported).
reset()inherited
Close stream.
close()inherited abstract
throws if there is an error closing stream
Returns the filename, url, etc. that is being read from.
getResource() : stringinherited abstractThis is critical for, e.g., ExpatParser's ability to know the filename that is throwing an ExpatParserException, etc.
Response
string
If supported, places a "marker" (like a bookmark) at current stream position.
mark()inheritedA subsequent call to reset() will move stream position back to last marker (if supported).
Whether marking is supported.
markSupported() : booleaninherited
Response
boolean
Is stream ready for reading.
ready() : booleaninherited
Response
boolean
Properties
logLevel
logLevel :
Have the parameters passed been interpreted?
initialized :inherited
The Phing project this filter is part of.
project :inherited