Package com.epam.xml.utils
Class ClassFinder
java.lang.Object
com.epam.xml.utils.ClassFinder
The helper util class used to load the class.
-
Constructor Summary
ConstructorsConstructorDescriptionClassFinder
(String packagePath) ClassFinder
(String packagePath, ClassLoader classLoader) -
Method Summary
Modifier and TypeMethodDescriptionfinal Class
getResourceInPath
(String resourceName) Gets resource in class path.
-
Constructor Details
-
ClassFinder
-
ClassFinder
-
-
Method Details
-
getResourceInPath
public final Class getResourceInPath(String resourceName) throws IOException, ClassNotFoundException Gets resource in class path.- Parameters:
resourceName
- the resource name- Throws:
IOException
ClassNotFoundException
-