com.agical.rmock.core.find.iterator
Class ClassBaseDirExtractor

java.lang.Object
  extended by com.agical.rmock.core.find.iterator.ClassBaseDirExtractor

public class ClassBaseDirExtractor
extends Object

Author:
brolund (c) 2005 Agical AB

Constructor Summary
ClassBaseDirExtractor()
           
 
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
 

Constructor Detail

ClassBaseDirExtractor

public ClassBaseDirExtractor()
Method Detail

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.