public interface PLocaleInfoBean extends Remote
PLocaleInfoBean
is a Remote
interface that defines the
abilities needed for a locale component.Modifier and Type | Method and Description |
---|---|
String |
getLocaleDescription(int index)
Gets the locale description at index when the bean is loaded.
|
String[] |
getLocales()
Gets a list of available locales when the bean is loaded.
|
void |
listOfLocales()
Uses
InfranetLocaleManager to get the list of Infranet locales. |
Locale |
mapInfranetLocaleToJavaLocale(String infranetLocale)
Uses
InfranetLocaleManager to map Infranet locale to Java Locale. |
String[] getLocales() throws RemoteException
Vector
converted into array of String
containing the available locales
for this bean.RemoteException
String getLocaleDescription(int index) throws RemoteException
index
- the locale at that indexString
that describes the specified locale.RemoteException
void listOfLocales() throws RemoteException
InfranetLocaleManager
to get the list of Infranet locales.RemoteException
- thrown if the context is nullLocale mapInfranetLocaleToJavaLocale(String infranetLocale) throws RemoteException
InfranetLocaleManager
to map Infranet locale to Java Locale.Infranet
- locale stringLocale
that maps to the given Infranet locale.RemoteException
- thrown if the context is nullCopyright © 2003, 2023, Oracle and/or its affiliates.