Package com.atlassian.confluence.util
Class StrutsUtil
- java.lang.Object
-
- com.atlassian.confluence.util.StrutsUtil
-
public class StrutsUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getStrutsTextMessage(String messageKey, List<?> args)
static com.opensymphony.xwork2.TextProvider
getStrutsTextProvider()
static List<String>
localizeMultipartErrorMessages(com.atlassian.xwork.FileUploadUtils.FileUploadException e)
Localizes errors returned by FileUploadUtils for display to the user.static List<String>
localizeMultipartErrorMessages(org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper multiPartRequestWrapper)
Localizes errors produced by the Struts multipart request handler for display to the user.
-
-
-
Method Detail
-
localizeMultipartErrorMessages
public static List<String> localizeMultipartErrorMessages(com.atlassian.xwork.FileUploadUtils.FileUploadException e)
Localizes errors returned by FileUploadUtils for display to the user. These errors are expected to be a copy of the errors returned by the Struts multipart request handler.
-
localizeMultipartErrorMessages
public static List<String> localizeMultipartErrorMessages(org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper multiPartRequestWrapper)
Localizes errors produced by the Struts multipart request handler for display to the user.
-
getStrutsTextProvider
public static com.opensymphony.xwork2.TextProvider getStrutsTextProvider()
-
-