FileNameMapperChainedMapper, CompositeMapper, FirstMatchMapperpublic abstract class ContainerMapper extends java.lang.Object implements FileNameMapper
FileNameMapper that contains
other FileNameMappers.FileNameMapper| Constructor | Description |
|---|---|
ContainerMapper() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(FileNameMapper fileNameMapper) |
Add a
FileNameMapper. |
void |
addConfigured(FileNameMapper fileNameMapper) |
An add configured version of the add method.
|
void |
addConfiguredMapper(Mapper mapper) |
Add a
Mapper. |
protected boolean |
contains(FileNameMapper fileNameMapper) |
Return
true if this ContainerMapper or any of
its sub-elements contains the specified FileNameMapper. |
java.util.List<FileNameMapper> |
getMappers() |
Get the
List of FileNameMappers. |
void |
setFrom(java.lang.String ignore) |
Empty implementation.
|
void |
setTo(java.lang.String ignore) |
Empty implementation.
|
mapFileNamepublic void addConfiguredMapper(Mapper mapper)
Mapper.mapper - the Mapper to add.public void addConfigured(FileNameMapper fileNameMapper)
fileNameMapper - a FileNameMapper.public void add(FileNameMapper fileNameMapper)
FileNameMapper.fileNameMapper - a FileNameMapper.java.lang.IllegalArgumentException - if attempting to add this
ContainerMapper to itself, or if the specified
FileNameMapper is itself a ContainerMapper
that contains this ContainerMapper.protected boolean contains(FileNameMapper fileNameMapper)
true if this ContainerMapper or any of
its sub-elements contains the specified FileNameMapper.fileNameMapper - the FileNameMapper to search for.boolean.public java.util.List<FileNameMapper> getMappers()
List of FileNameMappers.List.public void setFrom(java.lang.String ignore)
setFrom in interface FileNameMapperignore - ignored.public void setTo(java.lang.String ignore)
setTo in interface FileNameMapperignore - ignored.