Class UIUtil
java.lang.Object
com.jalios.jcms.member.profile.ui.UIUtil
UI utilities.
- Since:
- jplatform-11
- Author:
- Sylvain Devaux
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanIncludeJsp(String jsp, String property) Checks if given jsp path is valid, ie if file exists.static booleancanIncludeJsp(String jsp, String property, boolean validateExists) Checks if given jsp path is valid, ie if file exists.static StringgetProperty(String property, String suffix) protected static booleanisJunit()
-
Field Details
-
LOGGER
protected static final org.apache.log4j.Logger LOGGER
-
-
Constructor Details
-
UIUtil
public UIUtil()
-
-
Method Details
-
canIncludeJsp
Checks if given jsp path is valid, ie if file exists.- Parameters:
jsp- the jsp pathproperty- jsp property (For logging purpose)- Returns:
- true if JSP can be technically included
- See Also:
-
canIncludeJsp
Checks if given jsp path is valid, ie if file exists.- Parameters:
jsp- the jsp pathproperty- optional property declaring the JSP (For logging purpose)validateExists- will validate a JSP file exist relatively from the webapp- Returns:
- true if JSP can be technically included
-
getProperty
-
isJunit
protected static boolean isJunit()
-