com.codemesh.terp.ant
Class ExpandFilter
java.lang.Object
java.io.Reader
java.io.FilterReader
org.apache.tools.ant.filters.BaseFilterReader
org.apache.tools.ant.filters.BaseParamFilterReader
com.codemesh.terp.ant.ExpandFilter
- All Implemented Interfaces:
- java.io.Closeable, java.lang.Readable, org.apache.tools.ant.filters.ChainableReader, org.apache.tools.ant.types.Parameterizable
public class ExpandFilter
- extends org.apache.tools.ant.filters.BaseParamFilterReader
- implements org.apache.tools.ant.filters.ChainableReader
A filter that performs a terp expansion on the contents.
| Fields inherited from class java.io.FilterReader |
in |
| Fields inherited from class java.io.Reader |
lock |
| Methods inherited from class org.apache.tools.ant.filters.BaseParamFilterReader |
getParameters, setParameters |
| Methods inherited from class org.apache.tools.ant.filters.BaseFilterReader |
getInitialized, getProject, read, readFully, readLine, setInitialized, setProject, skip |
| Methods inherited from class java.io.FilterReader |
close, mark, markSupported, ready, reset |
| Methods inherited from class java.io.Reader |
read, read |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
theExpandedText
protected java.lang.String theExpandedText
theCurrentPos
protected int theCurrentPos
theLength
protected int theLength
ExpandFilter
public ExpandFilter()
ExpandFilter
public ExpandFilter(java.io.Reader in)
- Creates a new filtered reader.
- Parameters:
in - A Reader object providing the underlying stream.
Must not be null.
addBind
public Binding addBind()
chain
public java.io.Reader chain(java.io.Reader rdr)
- Specified by:
chain in interface org.apache.tools.ant.filters.ChainableReader
read
public int read()
throws java.io.IOException
- Overrides:
read in class java.io.FilterReader
- Throws:
java.io.IOException
expand
protected void expand(java.io.Reader rdr)
initialize
protected void initialize()
Copyright © 2008-2012 by Codemesh, Inc. All Rights Reserved.