public class PackageNameMapper extends GlobPatternMapper
<mapper classname="org.apache.tools.ant.util.PackageNameMapper" from="*Test.java" to="${test.data.dir}/TEST-*Test.xml"/>
fromPostfix, fromPrefix, postfixLength, prefixLength, toPostfix, toPrefix
Constructor and Description |
---|
PackageNameMapper() |
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 file separators with dots
|
getHandleDirSep, mapFileName, setCaseSensitive, setFrom, setHandleDirSep, setTo
protected java.lang.String extractVariablePart(java.lang.String name)
extractVariablePart
in class GlobPatternMapper
name
- Source filename