public abstract class ContainerMapper extends Object implements FileNameMapper
FileNameMapper that contains other FileNameMappers.FileNameMapper| Constructor and Description |
|---|
ContainerMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(FileNameMapper fileNameMapper)
Add a
FileNameMapper. |
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. |
List<FileNameMapper> |
getMappers()
Get the
List of FileNameMappers. |
void |
setFrom(String ignore)
Empty implementation.
|
void |
setTo(String ignore)
Empty implementation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmapFileNamepublic void addConfiguredMapper(Mapper mapper) throws Exception
Mapper.mapper - the Mapper to add.Exceptionpublic void add(FileNameMapper fileNameMapper)
FileNameMapper.fileNameMapper - a FileNameMapper.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 List<FileNameMapper> getMappers()
List of FileNameMappers.List.public void setFrom(String ignore)
setFrom in interface FileNameMapperpublic void setTo(String ignore)
setTo in interface FileNameMapperCopyright © 2001–2025. All rights reserved.