|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.portlet.util.PortletConfigUtil
public class PortletConfigUtil
This class is a utility class to use PortletConfig on Seasar2 environment.
コンストラクタの概要 | |
---|---|
PortletConfigUtil()
|
メソッドの概要 | |
---|---|
static java.lang.String |
getInitParameter(java.lang.String name)
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist. |
static java.util.Enumeration |
getInitParameterNames()
Returns the names of the portlet initialization parameters as an Enumeration of String objects, or an empty
Enumeration if the portlet has no initialization
parameters. |
static javax.portlet.PortletConfig |
getPortletConfig()
|
static javax.portlet.PortletContext |
getPortletContext()
Returns the PortletContext of the portlet application the
portlet is in. |
static java.lang.String |
getPortletName()
Returns the name of the portlet. |
static java.util.ResourceBundle |
getResourceBundle(java.util.Locale locale)
Gets the resource bundle for the given locale based on the resource bundle defined in the deployment descriptor with resource-bundle tag or the inlined resources defined in
the deployment descriptor. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public PortletConfigUtil()
メソッドの詳細 |
---|
public static javax.portlet.PortletConfig getPortletConfig()
public static java.lang.String getPortletName()
The name may be provided via server administration, assigned in the
portlet application deployment descriptor with the
portlet-name
tag.
public static javax.portlet.PortletContext getPortletContext()
PortletContext
of the portlet application the
portlet is in.
PortletContext
object, used by the caller to
interact with its portlet containerPortletContext
public static java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
resource-bundle
tag or the inlined resources defined in
the deployment descriptor.
locale
- the locale for which to retrieve the resource bundle
public static java.lang.String getInitParameter(java.lang.String name)
name
- a String
specifying the name of the
initialization parameter
String
containing the value of the
initialization parameter
java.lang.IllegalArgumentException
- if name is null
.public static java.util.Enumeration getInitParameterNames()
Enumeration
of String objects, or an empty
Enumeration
if the portlet has no initialization
parameters.
Enumeration
of String
objects
containing the names of the portlet initialization parameters, or
an empty Enumeration
if the portlet has no
initialization parameters.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |