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
Navigate
› Groupers› All Grouper› Parent Directory Grouper› Starts With Name Grouper› Until String Name Grouperr

Groupers

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.

^topAll Grouper

Groups all files into one group:
<allGrouper/>

^topParent Directory Grouper

Groups files by their parent directory.
<parentDirGrouper/>

^topStarts With Name Grouper

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"/>

^topUntil String Name Grouperr

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="_"/>

SourceForge.net Logo