Groupers are a means that Text-Zap uses to group files that will be merged. (See the merge filter for more details.)
The standard groupers are listed here. They all work with the file name and not with
the actual file contents.
You can create your own groupers by implementing the com.jmw.tzap.Grouper
interface.
Groups all files into one group:
<allGrouper/>
Groups files by their parent directory.
<parentDirGrouper/>
Groups all files whose names are the same up to a given length
For example: To group all files which start with the same five letters use:
<startsWithNameGrouper length="5"/>
Groups all files which are the same until the given string is found.
For example: To group all files whose names are the same until an _ use:
<untilStringNameGrouper string="_"/>