org.apache.commons.jexl.util
Class Coercion
java.lang.Object
|
+--org.apache.commons.jexl.util.Coercion
- public class Coercion
- extends Object
Coercion utilities for the JSTL EL-like coercion.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Coercion
public Coercion()
coerceBoolean
public static Boolean coerceBoolean(Object val)
coerceInteger
public static Integer coerceInteger(Object val)
throws Exception
coerceLong
public static Long coerceLong(Object val)
throws Exception
coerceDouble
public static Double coerceDouble(Object val)
throws Exception
isFloatingPoint
public static boolean isFloatingPoint(Object o)
isNumberable
public static boolean isNumberable(Object o)
Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.