Class FilterMapper
- 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
 
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Cloneable,- FileNameMapper
 
 public class FilterMapper extends FilterChain implements FileNameMapper This is a FileNameMapper based on a FilterChain.
- 
- 
Field Summary- 
Fields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
 
- 
 - 
Constructor SummaryConstructors Constructor Description FilterMapper()
 - 
Method SummaryModifier and Type Method Description java.lang.String[]mapFileName(java.lang.String sourceFileName)Return the result of the filters on the sourcefilename.voidsetFrom(java.lang.String from)From attribute not supported.voidsetTo(java.lang.String to)From attribute not supported.- 
Methods inherited from class org.apache.tools.ant.types.FilterChainadd, addClassConstants, addContainsRegex, addDeleteCharacters, addEscapeUnicode, addExpandProperties, addFilterReader, addHeadFilter, addIgnoreBlank, addLineContains, addLineContainsRegExp, addPrefixLines, addReplaceRegex, addReplaceString, addReplaceTokens, addStripJavaComments, addStripLineBreaks, addStripLineComments, addSuffixLines, addTabsToSpaces, addTailFilter, addTokenFilter, addTrim, dieOnCircularReference, getFilterReaders, setRefid
 - 
Methods inherited from class org.apache.tools.ant.types.DataTypecheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes, toString
 - 
Methods inherited from class org.apache.tools.ant.ProjectComponentgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
- 
 
- 
- 
- 
Method Detail- 
setFrompublic void setFrom(java.lang.String from) From attribute not supported.- Specified by:
- setFromin interface- FileNameMapper
- Parameters:
- from- a string
- Throws:
- BuildException- always
 
 - 
setTopublic void setTo(java.lang.String to) From attribute not supported.- Specified by:
- setToin interface- FileNameMapper
- Parameters:
- to- a string
- Throws:
- BuildException- always
 
 - 
mapFileNamepublic java.lang.String[] mapFileName(java.lang.String sourceFileName) Return the result of the filters on the sourcefilename.- Specified by:
- mapFileNamein interface- FileNameMapper
- Parameters:
- sourceFileName- the filename to map
- Returns:
- a one-element array of converted filenames, or null if the filterchain returns an empty string.
 
 
- 
 
-