Modifier and Type | Class and Description |
---|---|
public static class | Mapper.MapperType
Class as Argument to FileNameMapper.setType. |
Modifier and Type | Field and Description |
---|---|
protected String | |
protected Path | |
private ContainerMapper | |
protected String | |
protected String | |
protected Mapper. |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | |
public void | addConfigured(FileNameMapper
the fileNameMapper)FileNameMapper to add.Cannot mix add and addconfigured in same type, so provide this to override the add method. |
public void | |
public Path | Returns: a path object to be configuredSet the classpath to load the FileNameMapper through (nested element). |
public FileNameMapper | Returns: a FileNameMapper object to be configuredReturns a fully configured FileNameMapper implementation. |
protected Class | Returns: Class .Gets the Class object associated with the mapper implementation. |
protected Mapper | Returns: the referenced Mapper
Deprecated
since Ant 1.7.1 because a mapper might ref a
FileNameMapper implementation directly.
Performs the check for circular references and returns the
referenced Mapper.
|
public void | |
public void | setClasspath(Path
the classpath classpath)Set the classpath to load the FileNameMapper through (attribute). |
public void | setClasspathRef(Reference
the reference to the FileNameMapper ref)Set the classpath to load the FileNameMapper through via reference (attribute). |
public void | |
public void | setRefid(Reference
the reference to another mapper r)Overrides org. |
public void | |
public void | setType(Mapper.
the typeMapperType enumerated attribute.Set the type of |
classname | back to summary |
---|---|
protected String classname |
classpath | back to summary |
---|---|
protected Path classpath |
container | back to summary |
---|---|
private ContainerMapper container |
from | back to summary |
---|---|
protected String from |
to | back to summary |
---|---|
protected String to |
type | back to summary |
---|---|
protected Mapper. |
Mapper | back to summary |
---|---|
public Mapper(Project p) Construct a new
|
add | back to summary |
---|---|
public void add(FileNameMapper fileNameMapper) Add a nested
|
addConfigured | back to summary |
---|---|
public void addConfigured(FileNameMapper fileNameMapper) Cannot mix add and addconfigured in same type, so provide this to override the add method.
|
addConfiguredMapper | back to summary |
---|---|
public void addConfiguredMapper(Mapper mapper) Add a Mapper
|
createClasspath | back to summary |
---|---|
public Path createClasspath() Set the classpath to load the FileNameMapper through (nested element).
|
getImplementation | back to summary |
---|---|
public FileNameMapper getImplementation() throws BuildException Returns a fully configured FileNameMapper implementation.
|
getImplementationClass | back to summary |
---|---|
protected Class Gets the Class object associated with the mapper implementation.
|
getRef | back to summary |
---|---|
protected Mapper getRef()
Deprecated since Ant 1.7.1 because a mapper might ref a FileNameMapper implementation directly. Performs the check for circular references and returns the referenced Mapper.
|
setClassname | back to summary |
---|---|
public void setClassname(String classname) Set the class name of the FileNameMapper to use.
|
setClasspath | back to summary |
---|---|
public void setClasspath(Path classpath) Set the classpath to load the FileNameMapper through (attribute).
|
setClasspathRef | back to summary |
---|---|
public void setClasspathRef(Reference ref) Set the classpath to load the FileNameMapper through via reference (attribute).
|
setFrom | back to summary |
---|---|
public void setFrom(String from) Set the argument to FileNameMapper.setFrom
|
setRefid | back to summary |
---|---|
public void setRefid(Reference r) throws BuildException Overrides org. Make this Mapper instance a reference to another Mapper. You must not set any other attribute if you make it a reference.
|
setTo | back to summary |
---|---|
public void setTo(String to) Set the argument to FileNameMapper.setTo
|
setType | back to summary |
---|---|
public void setType(Mapper. Set the type of
|
Modifier and Type | Field and Description |
---|---|
private Properties |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public String | |
public String[] | Returns: the filenamemapper namesImplements abstract org. |
implementations | back to summary |
---|---|
private Properties implementations |
MapperType | back to summary |
---|---|
public MapperType() Constructor for the MapperType enumeration |
getImplementation | back to summary |
---|---|
public String getImplementation()
|
getValues | back to summary |
---|---|
public String[] getValues() Implements abstract org. Doc from org. This is the only method a subclass needs to implement. |