|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.alibaba.druid.support.logging.Resources
public final class Resources
A class to simplify access to resources through the classloader.
| 方法摘要 | |
|---|---|
static Class<?> |
classForName(String className)
Loads a class |
static ClassLoader |
getDefaultClassLoader()
Returns the default classloader (may be null). |
static void |
setDefaultClassLoader(ClassLoader defaultClassLoader)
Sets the default classloader |
| 从类 java.lang.Object 继承的方法 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public static ClassLoader getDefaultClassLoader()
public static void setDefaultClassLoader(ClassLoader defaultClassLoader)
defaultClassLoader - - the new default ClassLoader
public static Class<?> classForName(String className)
throws ClassNotFoundException
className - - the class to load
ClassNotFoundException - If the class cannot be found (duh!)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||