Package com.google.i18n.phonenumbers
-
Interface Summary Interface Description MetadataLoader Interface for clients to specify a customized phone metadata loader, useful for Android apps to load Android resources since the library loads Java resources by default, e.g. -
Class Summary Class Description AlternateFormatsCountryCodeSet AsYouTypeFormatter A formatter which formats phone numbers as they are entered.CountryCodeToRegionCodeMap Phonemetadata Phonemetadata.NumberFormat Phonemetadata.NumberFormat.Builder Provides a dummy builder to 'emulate' the API of the code generated by the latest version of Protocol Buffers.Phonemetadata.PhoneMetadata Phonemetadata.PhoneMetadata.Builder Provides a dummy builder.Phonemetadata.PhoneMetadataCollection Phonemetadata.PhoneMetadataCollection.Builder Provides a dummy builder.Phonemetadata.PhoneNumberDesc Phonemetadata.PhoneNumberDesc.Builder Provides a dummy builder.Phonenumber Phonenumber.PhoneNumber PhoneNumberMatch The immutable match of a phone number within a piece of text.PhoneNumberUtil Utility for international phone numbers.ShortNumberInfo Methods for getting information about short phone numbers, such as short codes and emergency numbers.ShortNumbersRegionCodeSet -
Enum Summary Enum Description NumberParseException.ErrorType The reason that a string could not be interpreted as a phone number.Phonenumber.PhoneNumber.CountryCodeSource PhoneNumberUtil.Leniency Leniency when finding potential phone numbers in text segments.PhoneNumberUtil.MatchType Types of phone number matches.PhoneNumberUtil.PhoneNumberFormat INTERNATIONAL and NATIONAL formats are consistent with the definition in ITU-T Recommendation E.123.PhoneNumberUtil.PhoneNumberType Type of phone numbers.PhoneNumberUtil.ValidationResult Possible outcomes when testing if a PhoneNumber is possible.ShortNumberInfo.ShortNumberCost Cost categories of short numbers. -
Exception Summary Exception Description NumberParseException Generic exception class for errors encountered when parsing phone numbers.