public class UnPackageNameMapper extends GlobPatternMapper
<mapper classname="org.apache.tools.ant.util.UnPackageNameMapper" from="${test.data.dir}/TEST-*Test.xml" to="*Test.java">
fromPostfix, fromPrefix, postfixLength, prefixLength, toPostfix, toPrefix
Constructor and Description |
---|
UnPackageNameMapper() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
extractVariablePart(java.lang.String name)
Returns the part of the given string that matches the * in the
"from" pattern replacing dots with file separators
|
getHandleDirSep, mapFileName, setCaseSensitive, setFrom, setHandleDirSep, setTo
protected java.lang.String extractVariablePart(java.lang.String name)
extractVariablePart
in class GlobPatternMapper
name
- Source filename