|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.util.ClassUtils
public class ClassUtils
This utility class contains functions related to class loading. There is a mechanism to restrict class loading.
Method Summary | |
---|---|
static boolean |
isVarArgs(java.lang.reflect.Method m)
Checks if the given method takes a variable number of arguments. |
static java.lang.Class<?> |
loadSystemClass(java.lang.String className)
Load a class without performing access rights checking. |
static java.lang.Class<?> |
loadUserClass(java.lang.String className)
Load a class, but check if it is allowed to load this class first. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.Class<?> loadSystemClass(java.lang.String className) throws java.lang.ClassNotFoundException
className
- the name of the class
java.lang.ClassNotFoundException
public static java.lang.Class<?> loadUserClass(java.lang.String className) throws java.sql.SQLException
className
- the name of the class
java.sql.SQLException
public static boolean isVarArgs(java.lang.reflect.Method m)
public static double mean(double... values)
m
- the method to test
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |