Class ActionParamsUtils


  • public class ActionParamsUtils
    extends Object
    • Method Detail

      • getParameter

        @Nullable
        public static @Nullable String getParameter​(String parameterName)
      • getParameter

        @Nullable
        public static @Nullable String getParameter​(com.opensymphony.xwork2.ActionContext actionContext,
                                                    String parameterName)
      • getStringFromObject

        @Nullable
        public static @Nullable String getStringFromObject​(@Nullable
                                                           @Nullable Object o)
        Returns String representation of the Object. If it's a String array, then it will return the first item in the array
        Parameters:
        o -
        Returns:
      • hasParameter

        public static boolean hasParameter​(String parameterName)
      • toStringArray

        @Nullable
        public static @Nullable String[] toStringArray​(Object value)
      • getStringArrayMap

        @NotNull
        public static @NotNull Map<String,​String[]> getStringArrayMap()