|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.clazzes.remoting.helper.ClassHelper
public abstract class ClassHelper
Constructor Summary | |
---|---|
ClassHelper()
|
Method Summary | |
---|---|
static java.lang.String |
getArrayComponentClass(java.lang.String className)
|
static byte[] |
getCompiledClass(java.lang.String className,
java.lang.ClassLoader cl)
Return the compiled class from a class loader. |
static boolean |
isArrayClass(java.lang.String className)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassHelper()
Method Detail |
---|
public static boolean isArrayClass(java.lang.String className)
className
-
public static java.lang.String getArrayComponentClass(java.lang.String className)
className
- The name of a class, which may be an array.
className
.public static byte[] getCompiledClass(java.lang.String className, java.lang.ClassLoader cl) throws java.io.IOException, java.lang.ClassNotFoundException
className
- The name of the class. If this is the name of an array class,
the compiled class of the array component will be returned.cl
- The class loader to resolve the class resource. If null
,
the system class loader will be used.
java.io.IOException
- Upon read errors.
java.lang.ClassNotFoundException
- When the .class resource could not be found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |