Package org.pentaho.platform.util
Class ParameterHelper
- java.lang.Object
-
- org.pentaho.platform.util.ParameterHelper
-
public class ParameterHelper extends Object
- Author:
- James Dixon TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
-
-
Constructor Summary
Constructors Constructor Description ParameterHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Date
parameterToDate(String value, Date defaultValue)
static BigDecimal
parameterToDecimal(String value, BigDecimal defaultValue)
static long
parameterToLong(String value, long defaultValue)
static Object[]
parameterToObjectArray(Object value, Object[] defaultValue)
static String
parameterToString(String value, String defaultValue)
static String[]
parameterToStringArray(Object value, String[] defaultValue)
-
-
-
Method Detail
-
parameterToLong
public static long parameterToLong(String value, long defaultValue)
-
parameterToDecimal
public static BigDecimal parameterToDecimal(String value, BigDecimal defaultValue)
-
parameterToObjectArray
public static Object[] parameterToObjectArray(Object value, Object[] defaultValue)
-
-