Package com.portal.web.comp
Interface PLocaleInfoBean
- All Superinterfaces:
Remote
- All Known Implementing Classes:
PLocaleInfoBeanImpl
PLocaleInfoBean
is a Remote
interface that defines the
abilities needed for a locale component.- Version:
- %version: 5 % %date_modified: Thu Feb 07 09:51:16 2002 %
- Author:
- sujata
-
Method Summary
Modifier and TypeMethodDescriptiongetLocaleDescription
(int index) Gets the locale description at index when the bean is loaded.String[]
Gets a list of available locales when the bean is loaded.void
UsesInfranetLocaleManager
to get the list of Infranet locales.mapInfranetLocaleToJavaLocale
(String infranetLocale) UsesInfranetLocaleManager
to map Infranet locale to Java Locale.
-
Method Details
-
getLocales
Gets a list of available locales when the bean is loaded.- Returns:
- A
Vector
converted into array ofString
containing the available locales for this bean. - Throws:
RemoteException
-
getLocaleDescription
Gets the locale description at index when the bean is loaded.- Parameters:
index
- the locale at that index- Returns:
- A
String
that describes the specified locale. - Throws:
RemoteException
-
listOfLocales
UsesInfranetLocaleManager
to get the list of Infranet locales.- Throws:
RemoteException
- thrown if the context is null
-
mapInfranetLocaleToJavaLocale
UsesInfranetLocaleManager
to map Infranet locale to Java Locale.- Parameters:
Infranet
- locale string- Returns:
- A Java
Locale
that maps to the given Infranet locale. - Throws:
RemoteException
- thrown if the context is null
-