FileDocCategorySizeDatePackage
BaseParamFilterReader.javaAPI DocApache Ant 1.702268Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.filters

BaseParamFilterReader

public abstract class BaseParamFilterReader extends BaseFilterReader implements org.apache.tools.ant.types.Parameterizable
Parameterized base class for core filter readers.

Fields Summary
private org.apache.tools.ant.types.Parameter[]
parameters
The passed in parameter array.
Constructors Summary
public BaseParamFilterReader()
Constructor for "dummy" instances.

see
BaseFilterReader#BaseFilterReader()

        super();
    
public BaseParamFilterReader(Reader in)
Creates a new filtered reader.

param
in A Reader object providing the underlying stream. Must not be null.

        super(in);
    
Methods Summary
protected final org.apache.tools.ant.types.Parameter[]getParameters()
Returns the parameters to be used by this filter.

return
the parameters to be used by this filter

        return parameters;
    
public final voidsetParameters(org.apache.tools.ant.types.Parameter[] parameters)
Sets the parameters used by this filter, and sets the filter to an uninitialized status.

param
parameters The parameters to be used by this filter. Should not be null.

        this.parameters = parameters;
        setInitialized(false);