@Deprecated public class PortletConfigUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getInitParameter(javax.portlet.PortletConfig portletConfig,
javax.portlet.PortletContext portletContext,
String paramName,
String defaultValue)
Deprecated.
Retrieves the init parameter from the portletConfig or portletContext.
|
static String |
getInitParameter(String paramName,
String defaultValue,
Object... configs)
Deprecated.
|
static boolean |
isBlank(String s)
Deprecated.
|
static boolean |
isEmpty(String s)
Deprecated.
|
public static String getInitParameter(javax.portlet.PortletConfig portletConfig, javax.portlet.PortletContext portletContext, String paramName, String defaultValue)
portletConfig
- portletConfig. If null, this is not used.portletContext
- portletContext. If null, this is not used.paramName
- parameter namedefaultValue
- the default valuepublic static String getInitParameter(String paramName, String defaultValue, Object... configs)
paramName
- defaultValue
- configs
- ServletConfigUtils#getInitParameter(String, String, Object...)}
public static boolean isEmpty(String s)
s
- ServletConfigUtils#isEmpty(String)}
public static boolean isBlank(String s)
s
- ServletConfigUtils#isBlank(String)}
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.