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 DateparameterToDate(String value, Date defaultValue)static BigDecimalparameterToDecimal(String value, BigDecimal defaultValue)static longparameterToLong(String value, long defaultValue)static Object[]parameterToObjectArray(Object value, Object[] defaultValue)static StringparameterToString(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)
-
-