Class PackageNameMapper

java.lang.Object
org.apache.tools.ant.util.GlobPatternMapper
org.apache.tools.ant.util.PackageNameMapper
All Implemented Interfaces:
FileNameMapper

public class PackageNameMapper extends GlobPatternMapper
Maps directory name matches into a dotted package name. This is useful for matching JUnit test cases against their XML formatter results.
 <mapper classname="org.apache.tools.ant.util.PackageNameMapper"
         from="*Test.java" to="${test.data.dir}/TEST-*Test.xml"/>