Interface PLocaleInfoBean

All Superinterfaces:
Remote
All Known Implementing Classes:
PLocaleInfoBeanImpl

public interface PLocaleInfoBean extends Remote
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 Type
    Method
    Description
    Gets the locale description at index when the bean is loaded.
    Gets a list of available locales when the bean is loaded.
    void
    Uses InfranetLocaleManager to get the list of Infranet locales.
    Uses InfranetLocaleManager to map Infranet locale to Java Locale.
  • Method Details

    • getLocales

      String[] getLocales() throws RemoteException
      Gets a list of available locales when the bean is loaded.
      Returns:
      A Vector converted into array of String containing the available locales for this bean.
      Throws:
      RemoteException
    • getLocaleDescription

      String getLocaleDescription(int index) throws RemoteException
      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

      void listOfLocales() throws RemoteException
      Uses InfranetLocaleManager to get the list of Infranet locales.
      Throws:
      RemoteException - thrown if the context is null
    • mapInfranetLocaleToJavaLocale

      Locale mapInfranetLocaleToJavaLocale(String infranetLocale) throws RemoteException
      Uses InfranetLocaleManager 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