public class Descriptions extends Object
Copyright (c) SAP AG 2001-2002
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT
The key for the default description.
|
static Locale |
DEFAULT_LOCALE
The default locale in the system.
|
Constructor and Description |
---|
Descriptions()
Create an empty description set.
|
Descriptions(Properties descriptions)
Create a description set with the locale-id's (as from
Locale.toString() ) as keys. |
Modifier and Type | Method and Description |
---|---|
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() |
public static String DEFAULT
public static Locale DEFAULT_LOCALE
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).public static String getDescription(Locale locale, Properties descriptions)
public static Locale[] getLocales(Properties descriptions)
public static String[] getRequiredLocaleKeys()
public Locale[] getLocales()
public Properties toProperties()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice