Home| Design| License| Regex| Download| Credits| Contact
Text-Zap Info
› Overview› Text-Zap Ant Task› Expand Text-Zap› API Docs
Components
› Filters› Savers› Groupers› Sequencers
Filters
› Append Filter› Append File Filter› Extract Lines Filter› Find Filter› Insert References› Merge Filter› Replace Filter› Replace List Filter› Replace Filter Plus› Reverse Filter› Split By Regex Filter› XSLT Filter

Merge Filter

Merges files together based on a grouper and a sequencer.

Nested Elements

Grouper
A grouperis required for the filter to know which files are to be grouped.

Sequencer
A sequenceris required to determine the sequence for each group to be merged into.

Mapper
An Ant mapper is optional if you want to remap the file name(s) after the merge.


^topExamples

Merges all files into one file ordered by their file name:
 <merge>
 	<allGrouper/>
 	<fileNameSequencer/>
 </merge>
Merges all files by parent directory by their file name mapped to a new file name:
 <merge>
 	<parentDirGrouper/>
 	<fileNameSequencer/>
 	<mapper type="glob" from="*.txt" to="*.bak"/>
 </merge>
SourceForge.net Logo