Appendix F. Core mappers

While filters are applied to the content of files, Mappers are applied to the filenames. All mappers have the same API, i.e. the way you use them is the same:

<mapper type="mappername" from="frompattern" to="topattern" />

F.1 Common Attributes

Table F.1:  Attributes for the <mapper> tag

NameTypeDescriptionDefaultRequired
typeStringType of the mapper.n/aOne of these is required.
classnameStringDot-path to a custom mapper class to use.n/a
fromStringThe pattern the filename is to be matched to. The exact meaning is dependent on the implementation of the mapper.n/adepends on the implementation of the mapper
toStringThe pattern according to which the filename is to be changed to. Here, the usage is dependent on the implementation of the mapper, too.n/adepends on the implementation of the mapper