|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.types.DataType org.apache.tools.ant.types.FilterChain org.apache.tools.ant.types.mappers.FilterMapper
public class FilterMapper
This is a FileNameMapper based on a FilterChain.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.types.DataType |
---|
checked, ref |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
FilterMapper()
|
Method Summary | |
---|---|
java.lang.String[] |
mapFileName(java.lang.String sourceFileName)
Return the result of the filters on the sourcefilename. |
void |
setFrom(java.lang.String from)
From attribute not supported. |
void |
setTo(java.lang.String to)
From attribute not supported. |
Methods inherited from class org.apache.tools.ant.types.FilterChain |
---|
add, addClassConstants, addContainsRegex, addDeleteCharacters, addEscapeUnicode, addExpandProperties, addFilterReader, addHeadFilter, addIgnoreBlank, addLineContains, addLineContainsRegExp, addPrefixLines, addReplaceRegex, addReplaceString, addReplaceTokens, addStripJavaComments, addStripLineBreaks, addStripLineComments, addTabsToSpaces, addTailFilter, addTokenFilter, addTrim, getFilterReaders, setRefid |
Methods inherited from class org.apache.tools.ant.types.DataType |
---|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, tooManyAttributes, toString |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FilterMapper()
Method Detail |
---|
public void setFrom(java.lang.String from)
setFrom
in interface FileNameMapper
from
- a string
BuildException
- alwayspublic void setTo(java.lang.String to)
setTo
in interface FileNameMapper
to
- a string
BuildException
- alwayspublic java.lang.String[] mapFileName(java.lang.String sourceFileName)
mapFileName
in interface FileNameMapper
sourceFileName
- the filename to map
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |