Class PhoneCountryConstantsProviderImpl
java.lang.Object
de.knightsoftnet.validators.shared.util.PhoneCountryConstantsProviderImpl
- All Implemented Interfaces:
PhoneCountryConstantsProvider
public class PhoneCountryConstantsProviderImpl
extends Object
implements PhoneCountryConstantsProvider
utility class for phone country constants provider, using CreatePhoneCountryConstantsClass as
source.
- Author:
- Manfred Tremmel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget phone country constants for current local.getPhoneCountryConstants(Locale plocale) get phone country constants for given local.voidset phone country constants when they are available.voidsetPhoneCountrySharedConstantsWhenAvailable(Locale plocale, HasSetPhoneCountrySharedConstants preceiver) set phone country constants for given local when they are available.
-
Constructor Details
-
PhoneCountryConstantsProviderImpl
public PhoneCountryConstantsProviderImpl()
-
-
Method Details
-
getPhoneCountryConstants
Description copied from interface:PhoneCountryConstantsProviderget phone country constants for current local.- Specified by:
getPhoneCountryConstantsin interfacePhoneCountryConstantsProvider- Returns:
- PhoneCountrySharedConstants
-
getPhoneCountryConstants
Description copied from interface:PhoneCountryConstantsProviderget phone country constants for given local.- Specified by:
getPhoneCountryConstantsin interfacePhoneCountryConstantsProvider- Parameters:
plocale- local to get for- Returns:
- PhoneCountrySharedConstants
-