Class ConcatFilter

java.lang.Object
All Implemented Interfaces:
Closeable, AutoCloseable, Readable, ChainableReader, Parameterizable

public final class ConcatFilter extends BaseParamFilterReader implements ChainableReader
Concats a file before and/or after the file.

Example:

 <copy todir="build">
     <fileset dir="src" includes="*.java"/>
     <filterchain>
         <concatfilter prepend="apache-license-java.txt"/>
     </filterchain>
 </copy>
 

Copies all java sources from src to build and adds the content of apache-license-java.txt add the beginning of each file.

Since:
1.6
Version:
2003-09-23