|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.trajano.twiff.internal.util.InitParamUtil
public class InitParamUtil
Utility class to get data for initialization parameters.
Method Summary | |
---|---|
static String |
getInitParam(ServletConfig servletConfig,
String name)
Gets the initialization parameter. |
static String |
getInitParam(ServletContext servletContext,
String name)
Gets the initialization parameter. |
static String |
safeGetInitParam(ServletConfig servletConfig,
String name)
Gets the initialization parameter. |
static String |
safeGetInitParam(ServletContext servletContext,
String name)
Gets the initialization parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getInitParam(ServletConfig servletConfig, String name)
MissingInitialParameterException
.
servletConfig
- the servlet config to check for the initialization parameter.name
- the name of the initialization parameter
public static String safeGetInitParam(ServletConfig servletConfig, String name)
servletConfig
- the servlet config to check for the initialization parameter.name
- the name of the initialization parameter
public static String getInitParam(ServletContext servletContext, String name)
MissingInitialParameterException
.
servletContext
- the servlet context to check for the initialization parameter.name
- the name of the initialization parameter
public static String safeGetInitParam(ServletContext servletContext, String name)
servletContext
- the servlet context to check for the initialization parameter.name
- the name of the initialization parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |