Class 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 Detail

      • ParameterHelper

        public ParameterHelper()
    • Method Detail

      • parameterToString

        public static String parameterToString​(String value,
                                               String defaultValue)
      • parameterToLong

        public static long parameterToLong​(String value,
                                           long defaultValue)
      • parameterToDate

        public static Date parameterToDate​(String value,
                                           Date defaultValue)
      • parameterToObjectArray

        public static Object[] parameterToObjectArray​(Object value,
                                                      Object[] defaultValue)
      • parameterToStringArray

        public static String[] parameterToStringArray​(Object value,
                                                      String[] defaultValue)