com.agical.rmock.core.find.iterator
Class ClassBaseDirExtractor
java.lang.Object
com.agical.rmock.core.find.iterator.ClassBaseDirExtractor
public class ClassBaseDirExtractor
- extends Object
- Author:
- brolund
(c) 2005 Agical AB
Method Summary |
File |
getDir(Class clazz)
Finds the base directory of the given class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassBaseDirExtractor
public ClassBaseDirExtractor()
getDir
public File getDir(Class clazz)
- Finds the base directory of the given class
- Parameters:
clazz
- The class to search from
- Returns:
- The base directory of the class (with all packages removed from the path).
- Throws:
URISyntaxException
Copyright © 2005-2011 Agical AB. All Rights Reserved.