org.apache.tools.ant.util
public class PackageNameMapper extends GlobPatternMapper
<mapper classname="org.apache.tools.ant.util.PackageNameMapper" from="*Test.java" to="${test.data.dir}/TEST-*Test.xml"/>
Method Summary | |
---|---|
protected String | extractVariablePart(String name)
Returns the part of the given string that matches the * in the
"from" pattern replacing file separators with dots
|
Parameters: name Source filename
Returns: Replaced variable part