| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  |
  +--org.apache.tools.ant.util.GlobPatternMapper
        |
        +--org.apache.tools.ant.util.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">
 
| Field Summary | 
| Fields inherited from class org.apache.tools.ant.util.GlobPatternMapper | 
| fromPostfix, fromPrefix, postfixLength, prefixLength, toPostfix, toPrefix | 
| Constructor Summary | |
| UnPackageNameMapper() | |
| Method Summary | |
| 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 | 
| Methods inherited from class org.apache.tools.ant.util.GlobPatternMapper | 
| mapFileName, setCaseSensitive, setFrom, setHandleDirSep, setTo | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public UnPackageNameMapper()
| Method Detail | 
protected java.lang.String extractVariablePart(java.lang.String name)
extractVariablePart in class GlobPatternMappername - Source filename
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||