Interface PhoneCountryConstantsProvider

  • All Known Implementing Classes:
    PhoneCountryConstantsProviderImpl

    public interface PhoneCountryConstantsProvider
    utility interface for phone country constants provider.
    Author:
    Manfred Tremmel
    • Method Detail

      • getPhoneCountryConstants

        PhoneCountrySharedConstants getPhoneCountryConstants()
        get phone country constants for current local.
        Returns:
        PhoneCountrySharedConstants
      • getPhoneCountryConstants

        PhoneCountrySharedConstants getPhoneCountryConstants​(Locale plocale)
        get phone country constants for given local.
        Parameters:
        plocale - local to get for
        Returns:
        PhoneCountrySharedConstants
      • setPhoneCountrySharedConstantsWhenAvailable

        void setPhoneCountrySharedConstantsWhenAvailable​(HasSetPhoneCountrySharedConstants preceiver)
        set phone country constants when they are available.
        Parameters:
        preceiver - where to set phone country constants
      • setPhoneCountrySharedConstantsWhenAvailable

        void setPhoneCountrySharedConstantsWhenAvailable​(Locale plocale,
                                                         HasSetPhoneCountrySharedConstants preceiver)
        set phone country constants for given local when they are available.
        Parameters:
        plocale - local to get for
        preceiver - where to set phone country constants