|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.gwt.A_CmsClientMessageBundle
public abstract class A_CmsClientMessageBundle
Convenience class to access the localized messages of this OpenCms package.
Intended only for test cases.
Constructor Summary | |
---|---|
protected |
A_CmsClientMessageBundle()
Hides the public constructor for this utility class. |
Method Summary | |
---|---|
String |
export(javax.servlet.http.HttpServletRequest request)
Returns the JSON code for this resource bundle and the default locale. |
String |
export(Locale locale)
Returns the JSON code for this resource bundle and given locale. |
String |
export(String localeName)
Returns the JSON code for this resource bundle and given locale. |
String |
getBundleName()
Returns the bundle name for this OpenCms package. |
Class<?> |
getClientImpl()
Returns the class of the client implementation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected A_CmsClientMessageBundle()
Method Detail |
---|
public String export(javax.servlet.http.HttpServletRequest request)
I_CmsClientMessageBundle
export
in interface I_CmsClientMessageBundle
request
- the current request to get the default locale from
I_CmsClientMessageBundle.export(javax.servlet.http.HttpServletRequest)
public String export(String localeName)
I_CmsClientMessageBundle
export
in interface I_CmsClientMessageBundle
localeName
- the name of the locale to export
I_CmsClientMessageBundle.export(java.lang.String)
public String export(Locale locale)
I_CmsClientMessageBundle
export
in interface I_CmsClientMessageBundle
locale
- the locale to export
I_CmsClientMessageBundle.export(java.util.Locale)
public String getBundleName()
I_CmsClientMessageBundle
getBundleName
in interface I_CmsClientMessageBundle
I_CmsClientMessageBundle.getBundleName()
public Class<?> getClientImpl() throws Exception
I_CmsClientMessageBundle
getClientImpl
in interface I_CmsClientMessageBundle
Exception
- if something goes wrongI_CmsClientMessageBundle.getClientImpl()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |