Interface PhoneCountryConstantsProvider
-
- All Known Implementing Classes:
PhoneCountryConstantsProviderImpl
public interface PhoneCountryConstantsProviderutility interface for phone country constants provider.- Author:
- Manfred Tremmel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PhoneCountrySharedConstantsgetPhoneCountryConstants()get phone country constants for current local.PhoneCountrySharedConstantsgetPhoneCountryConstants(Locale plocale)get phone country constants for given local.voidsetPhoneCountrySharedConstantsWhenAvailable(HasSetPhoneCountrySharedConstants preceiver)set phone country constants when they are available.voidsetPhoneCountrySharedConstantsWhenAvailable(Locale plocale, HasSetPhoneCountrySharedConstants preceiver)set phone country constants for given local when they are available.
-
-
-
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 forpreceiver- where to set phone country constants
-
-