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

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

public class ClassBaseDirExtractor
extends java.lang.Object

Author:
brolund (c) 2005 Agical AB

Constructor Summary
ClassBaseDirExtractor()
           
 
Method Summary
 java.io.File getDir(java.lang.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 java.io.File getDir(java.lang.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:
java.net.URISyntaxException


Copyright © 2005-2009 Agical AB. All Rights Reserved.