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" />
Table F.1: Attributes for the <mapper> tag
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
type | String | Type of the mapper. | n/a | One of these is required. |
classname | String | Dot-path to a custom mapper class to use. | n/a | |
from | String | The pattern the filename is to be matched to. The exact meaning is dependent on the implementation of the mapper. | n/a | depends on the implementation of the mapper |
to | String | The pattern according to which the filename is to be changed to. Here, the usage is dependent on the implementation of the mapper, too. | n/a | depends on the implementation of the mapper |