Package org.apache.felix.scr.impl.helper
Class Coercions
java.lang.Object
org.apache.felix.scr.impl.helper.Coercions
This implements the coercion table in RFC 190 5.6.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Object
static boolean
static byte
static char
static Class<?>
coerceToClass
(Object o, org.osgi.framework.Bundle b) static double
static <T extends Enum<T>>
TcoerceToEnum
(Object o, Class<T> clazz) static float
static int
static long
static short
static String
-
Constructor Details
-
Coercions
public Coercions()
-
-
Method Details
-
coerce
-
coerceToByte
-
coerceToChar
-
coerceToDouble
-
coerceToFloat
-
coerceToInteger
-
coerceToLong
-
coerceToShort
-
coerceToString
-
coerceToBoolean
-
coerceToClass
-
coerceToEnum
-