in - A Reader object providing the underlying stream.
Must not be null.
Method Detail
read
public final int read()
throws java.io.IOException
Returns the next character in the filtered stream. The original
stream is first read in fully, and the Ant properties are expanded.
The results of this expansion are then queued so they can be read
character-by-character.
Overrides:
read in class java.io.FilterReader
Returns:
the next character in the resulting stream, or -1
if the end of the resulting stream has been reached
Throws:
java.io.IOException - if the underlying stream throws an IOException
during reading
chain
public final java.io.Reader chain(java.io.Reader rdr)
Creates a new ExpandProperties filter using the passed in
Reader for instantiation.