public class ClassLoadingUtil extends Object
ClassLoadingUtil class.
Constructor and Description |
---|
ClassLoadingUtil() |
Modifier and Type | Method and Description |
---|---|
ClassLoader |
getClassloader()
Returns the current threads context classloader.
|
Class<?> |
loadClass(String className)
Loads the class by class name with the current threads context
classloader.
|
public Class<?> loadClass(String className) throws ClassNotFoundException
className
- a String
object.Class
object.ClassNotFoundException
- if any.public ClassLoader getClassloader()
Thread.currentThread()
Copyright © 18.01.2010–2015. All rights reserved.