|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.util.ClassUtil
public class ClassUtil
Utility methods to aid in class/resource loading.
| Constructor Summary | |
|---|---|
ClassUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.Class |
forName(java.lang.String className,
java.lang.Class caller)
Load the specified class. |
static java.io.InputStream |
getResourceAsStream(java.lang.String resourceName,
java.lang.Class caller)
Get the specified resource as a stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassUtil()
| Method Detail |
|---|
public static java.lang.Class forName(java.lang.String className,
java.lang.Class caller)
throws java.lang.ClassNotFoundException
className - The name of the class to load.caller - The class of the caller.
java.lang.ClassNotFoundException - If the class cannot be found.
public static java.io.InputStream getResourceAsStream(java.lang.String resourceName,
java.lang.Class caller)
resourceName - The name of the class to load.caller - The class of the caller.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||