org.apache.tools.ant.util
Class UnPackageNameMapper
- FileNameMapper
public class UnPackageNameMapper
Maps dotted package name matches to a directory name.
This is the inverse of the package mapper.
This is useful for matching XML formatter results against their JUnit test
cases.
<mapper classname="org.apache.tools.ant.util.UnPackageNameMapper"
from="${test.data.dir}/TEST-*Test.xml" to="*Test.java">
protected String | extractVariablePart(String name) - Returns the part of the given string that matches the * in the
"from" pattern replacing dots with file separators
|
extractVariablePart
protected String extractVariablePart(String name)
Returns the part of the given string that matches the * in the
"from" pattern replacing dots with file separators
- extractVariablePart in interface GlobPatternMapper
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.