| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.tools.ant.filters.util.ChainReaderHelper
Process a FilterReader chain.
| Field Summary | |
|  int | bufferSizeThe size of the buffer to be used. | 
|  java.util.Vector | filterChainsChain of filters | 
|  java.io.Reader | primaryReaderThe primary reader to which the reader chain is to be attached. | 
| Constructor Summary | |
| ChainReaderHelper() | |
| Method Summary | |
|  java.io.Reader | getAssembledReader()Assemble the reader | 
|  Project | getProject()Get the project | 
|  java.lang.String | readFully(java.io.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(java.util.Vector fchain)Sets the collection of filter reader sets | 
|  void | setPrimaryReader(java.io.Reader rdr)Sets the primary reader | 
|  void | setProject(Project project)Set the project to work with | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public java.io.Reader primaryReader
public int bufferSize
public java.util.Vector filterChains
| Constructor Detail | 
public ChainReaderHelper()
| Method Detail | 
public final void setPrimaryReader(java.io.Reader rdr)
rdr - the reader objectpublic final void setProject(Project project)
project - the current projectpublic final Project getProject()
public final void setBufferSize(int size)
size - the buffer size to usepublic final void setFilterChains(java.util.Vector fchain)
fchain - the filter chains collection
public final java.io.Reader getAssembledReader()
                                        throws BuildException
BuildException - if an error occurs
public final java.lang.String readFully(java.io.Reader rdr)
                                 throws java.io.IOException
rdr - the reader object
java.io.IOException - if an error occurs| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||