|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.wvs.client.beans.Message
Methods associated localised text in JSP pages
Supported API: false
Field Summary | |
static String |
DEFAULT_RESOURCE
|
private Locale |
locale
|
private String |
localeString
|
private String |
resource
|
Constructor Summary | |
Message()
|
Method Summary | |
Locale |
getLocale()
get the locale Supported API: false |
String |
getLocaleString()
get the locale string Supported API: false |
String |
getMsg(String messageKey)
Returns an localised message Supported API: false |
String |
getMsg(String messageKey,
Object[] textInserts)
Returns an localised message Supported API: false |
String |
getMsg(String messageKey,
String singleTextInsert)
Returns an localised message Supported API: false |
String |
getMsg(String messageKey,
String oneTextInsert,
String twoTextInsert)
Returns an localised message Supported API: false |
String |
getMsgEQ(String messageKey)
Returns an localised message with double quotes escaped for use when writing into javascript contants Supported API: false |
String |
getMsgEQ(String messageKey,
Object[] textInserts)
Returns an localised message with double quotes escaped for use when writing into javascript contants Supported API: false |
String |
getMsgEQ(String messageKey,
String singleTextInsert)
Returns an localised message with double quotes escaped for use when writing into javascript contants Supported API: false |
String |
getMsgEQ(String messageKey,
String oneTextInsert,
String twoTextInsert)
Returns an localised message with double quotes escaped for use when writing into javascript contants Supported API: false |
String |
getResourceName()
get the Resource file name Supported API: false |
void |
setLocaleString(String accept)
set the locale string Supported API: false |
void |
setResourceName(String name)
set the Resource file name Supported API: false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String DEFAULT_RESOURCE
private String resource
private Locale locale
private String localeString
Constructor Detail |
public Message()
Method Detail |
public void setLocaleString(String accept)
public String getLocaleString()
public Locale getLocale()
public void setResourceName(String name)
public String getResourceName()
public String getMsg(String messageKey)
public String getMsgEQ(String messageKey)
public String getMsg(String messageKey, String singleTextInsert)
public String getMsgEQ(String messageKey, String singleTextInsert)
public String getMsg(String messageKey, String oneTextInsert, String twoTextInsert)
public String getMsgEQ(String messageKey, String oneTextInsert, String twoTextInsert)
public String getMsg(String messageKey, Object[] textInserts)
public String getMsgEQ(String messageKey, Object[] textInserts)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |