|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.util.resource.Descriptions
Store several description strings in one object.
Copyright (c) SAP AG 2001-2002
| Field Summary | |
static String |
DEFAULT
The key for the default description. |
static Locale |
DEFAULT_LOCALE
The default locale in the system. |
| Constructor Summary | |
Descriptions()
Create an empty description set. |
|
Descriptions(Properties descriptions)
Create a description set with the locale-id's (as from
Locale.toString() ) as keys. |
|
| Method Summary | |
String |
getDescription(Locale locale)
|
static String |
getDescription(Locale locale,
Properties descriptions)
|
static Locale |
getLocale(String localeID)
|
Locale[] |
getLocales()
|
static Locale[] |
getLocales(Properties descriptions)
|
static String[] |
getRequiredLocaleKeys()
|
void |
setDescription(Locale locale,
String description)
|
Properties |
toProperties()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static String DEFAULT
public static Locale DEFAULT_LOCALE
| Constructor Detail |
public Descriptions()
public Descriptions(Properties descriptions)
Locale.toString() ) as keys.
descriptions - a bag of Properties with the locale id's
as keys (e.g. de for german, en_us for us english).| Method Detail |
public static String getDescription(Locale locale,
Properties descriptions)
public static Locale getLocale(String localeID)
public static Locale[] getLocales(Properties descriptions)
public static String[] getRequiredLocaleKeys()
public String getDescription(Locale locale)
public Locale[] getLocales()
public void setDescription(Locale locale,
String description)
public Properties toProperties()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||