java.lang .Object org.apache.tools.ant.filters.util .ChainReaderHelper ChainReaderHelper final public class ChainReaderHelper (Code) Process a FilterReader chain.
bufferSize public int bufferSize(Code) The size of the buffer to be used.
filterChains public Vector filterChains(Code) Chain of filters
primaryReader public Reader primaryReader(Code) The primary reader to which the reader chain is to be attached.
getProject public Project getProject()(Code) Get the project
the current project
readFully public String readFully(Reader rdr) throws IOException (Code) Read data from the reader and return the
contents as a string.
Parameters: rdr - the reader object the contents of the file as a stringexception: IOException - if an error occurs
setBufferSize public void setBufferSize(int size)(Code) Sets the buffer size to be used. Defaults to 8192,
if this method is not invoked.
Parameters: size - the buffer size to use
setFilterChains public void setFilterChains(Vector fchain)(Code) Sets the collection of filter reader sets
Parameters: fchain - the filter chains collection
setPrimaryReader public void setPrimaryReader(Reader rdr)(Code) Sets the primary reader
Parameters: rdr - the reader object
setProject public void setProject(Project project)(Code) Set the project to work with
Parameters: project - the current project