Class DynamicLoad
java.lang.Object
com.onenetwork.platform.tools.util.DynamicLoad
public class DynamicLoad
extends java.lang.Object
This class provides a safe way to invoke Class.forName and loader.loadClass
-
Constructor Summary
Constructors Constructor Description DynamicLoad()
-
Method Summary
-
Constructor Details
-
DynamicLoad
public DynamicLoad()
-
-
Method Details
-
forName
public static java.lang.Class<?> forName(java.lang.String className) throws java.lang.ClassNotFoundException- Throws:
java.lang.ClassNotFoundException
-
loadClass
public static java.lang.Class<?> loadClass(java.lang.ClassLoader loader, java.lang.String className) throws java.lang.ClassNotFoundException- Throws:
java.lang.ClassNotFoundException
-