com.epam.xml.utils
Class ClassFinder

java.lang.Object
  extended by com.epam.xml.utils.ClassFinder

public final class ClassFinder
extends Object

The helper util class used to load the class.


Constructor Summary
ClassFinder(String packagePath)
           
ClassFinder(String packagePath, ClassLoader classLoader)
           
 
Method Summary
 Class getResourceInPath(String resourceName)
          Gets resource in class path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFinder

public ClassFinder(String packagePath)

ClassFinder

public ClassFinder(String packagePath,
                   ClassLoader classLoader)
Method Detail

getResourceInPath

public final Class getResourceInPath(String resourceName)
                              throws IOException,
                                     ClassNotFoundException
Gets resource in class path.

Parameters:
resourceName - the resource name
Throws:
IOException
ClassNotFoundException


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.