|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.util.ContainerMapper
public abstract class ContainerMapper
A FileNameMapper that contains
other FileNameMappers.
FileNameMapper| Constructor Summary | |
|---|---|
ContainerMapper()
|
|
| Method Summary | |
|---|---|
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 FileNameMappers. |
void |
setFrom(java.lang.String ignore)
Empty implementation. |
void |
setTo(java.lang.String ignore)
Empty implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.tools.ant.util.FileNameMapper |
|---|
mapFileName |
| Constructor Detail |
|---|
public ContainerMapper()
| Method Detail |
|---|
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 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||