Package org.glassfish.extras.grizzly
Class IntrospectionUtils
- java.lang.Object
-
- org.glassfish.extras.grizzly.IntrospectionUtils
-
public final class IntrospectionUtils extends Object
Utils for introspection and reflection
-
-
Constructor Summary
Constructors Constructor Description IntrospectionUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
capitalize(String name)
Reverse of Introspector.decapitalizestatic void
clear()
static Method[]
findMethods(Class<?> c)
static boolean
setProperty(Object o, String name, String value)
Find a method with the right name If found, call the method ( if param is int or boolean we'll convert value to the right type before) - that means you can have setDebug(1).
-
-
-
Method Detail
-
setProperty
public static boolean setProperty(Object o, String name, String value)
Find a method with the right name If found, call the method ( if param is int or boolean we'll convert value to the right type before) - that means you can have setDebug(1).
-
clear
public static void clear()
-
-