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.voidUsesInfranetLocaleManagerto get the list of Infranet locales.mapInfranetLocaleToJavaLocale(String infranetLocale) UsesInfranetLocaleManagerto map Infranet locale to Java Locale.
-
Method Details
-
getLocales
Gets a list of available locales when the bean is loaded.- Returns:
- A
Vectorconverted into array ofStringcontaining 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
Stringthat describes the specified locale. - Throws:
RemoteException
-
listOfLocales
UsesInfranetLocaleManagerto get the list of Infranet locales.- Throws:
RemoteException- thrown if the context is null
-
mapInfranetLocaleToJavaLocale
UsesInfranetLocaleManagerto map Infranet locale to Java Locale.- Parameters:
Infranet- locale string- Returns:
- A Java
Localethat maps to the given Infranet locale. - Throws:
RemoteException- thrown if the context is null
-