org.apache.tools.ant.types.mappers
Class FilterMapper
- Cloneable, FileNameMapper
public class FilterMapper
This is a FileNameMapper based on a FilterChain.
String[] | mapFileName(String sourceFileName)- Return the result of the filters on the sourcefilename.
|
void | setFrom(String from)- From attribute not supported.
|
void | setTo(String to)- From attribute not supported.
|
add, addClassConstants, addContainsRegex, addDeleteCharacters, addEscapeUnicode, addExpandProperties, addFilterReader, addHeadFilter, addIgnoreBlank, addLineContains, addLineContainsRegExp, addPrefixLines, addReplaceRegex, addReplaceString, addReplaceTokens, addStripJavaComments, addStripLineBreaks, addStripLineComments, addTabsToSpaces, addTailFilter, addTokenFilter, addTrim, getFilterReaders, setRefid |
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, setRefid, tooManyAttributes |
mapFileName
public String[] mapFileName(String sourceFileName)
Return the result of the filters on the sourcefilename.
- mapFileName in interface FileNameMapper
sourceFileName - the filename to map
- a one-element array of converted filenames, or null if
the filterchain returns an empty string.
setFrom
public void setFrom(String from)
From attribute not supported.
- setFrom in interface FileNameMapper
setTo
public void setTo(String to)
From attribute not supported.
- setTo in interface FileNameMapper
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.