public abstract class ContainerMapper extends java.lang.Object implements FileNameMapper
FileNameMapper
that contains
other FileNameMapper
s.FileNameMapper
Constructor and Description |
---|
ContainerMapper() |
Modifier and Type | Method and 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 |
getMappers()
Get the
List of FileNameMapper s. |
void |
setFrom(java.lang.String ignore)
Empty implementation.
|
void |
setTo(java.lang.String ignore)
Empty implementation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mapFileName
public 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 getMappers()
List
of FileNameMapper
s.List
.public void setFrom(java.lang.String ignore)
setFrom
in interface FileNameMapper
ignore
- ignored.public void setTo(java.lang.String ignore)
setTo
in interface FileNameMapper
ignore
- ignored.