org.apache.tools.ant.filters.util
public final class ChainReaderHelper extends Object
| Field Summary | |
|---|---|
| int | bufferSize
The size of the buffer to be used. |
| Vector | filterChains
Chain of filters |
| Reader | primaryReader
The primary reader to which the reader chain is to be attached. |
| Method Summary | |
|---|---|
| Reader | getAssembledReader()
Assemble the reader |
| Project | getProject()
Get the project
|
| String | readFully(Reader rdr)
Read data from the reader and return the
contents as a string. |
| void | setBufferSize(int size)
Sets the buffer size to be used. |
| void | setFilterChains(Vector fchain)
Sets the collection of filter reader sets
|
| void | setPrimaryReader(Reader rdr)
Sets the primary reader |
| void | setProject(Project project)
Set the project to work with |
Returns: the assembled reader
Throws: BuildException if an error occurs
Returns: the current project
Parameters: rdr the reader object
Returns: the contents of the file as a string
Throws: IOException if an error occurs
Parameters: size the buffer size to use
Parameters: fchain the filter chains collection
Parameters: rdr the reader object
Parameters: project the current project