- getAsYouTypeFormatter(String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
- getCarrierSpecific() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getCountryCode() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getCountryCode() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
-
- getCountryCodeForRegion(String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns the country calling code for a specific region.
- getCountryCodeSource() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
-
- getCountryMobileToken(int) - Static method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns the mobile token for the provided country calling code if it has one, otherwise
returns an empty string.
- getDomesticCarrierCodeFormattingRule() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
-
- getEmergency() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getErrorType() - Method in exception com.google.i18n.phonenumbers.NumberParseException
-
Returns the error type of the exception that has been thrown.
- getExampleNumber() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
-
- getExampleNumber(String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Gets a valid number for the specified region.
- getExampleNumberForNonGeoEntity(int) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Gets a valid number for the specified country calling code for a non-geographical entity.
- getExampleNumberForType(String, PhoneNumberUtil.PhoneNumberType) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Gets a valid number for the specified region and number type.
- getExampleNumberForType(PhoneNumberUtil.PhoneNumberType) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Gets a valid number for the specified number type (it may belong to any country).
- getExpectedCost(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Gets the expected cost category of a short number (however, nothing is implied about its
validity).
- getExpectedCostForRegion(Phonenumber.PhoneNumber, String) - Method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Gets the expected cost category of a short number when dialed from a region (however, nothing
is implied about its validity).
- getExtension() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
-
- getFixedLine() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getFormat() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
-
- getGeneralDesc() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getId() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getInstance() - Static method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Gets a
PhoneNumberUtil
instance to carry out international phone number formatting,
parsing, or validation.
- getInstance() - Static method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Returns the singleton instance of the ShortNumberInfo.
- getInternationalPrefix() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getIntlNumberFormat(int) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getInvalidExampleNumber(String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Gets an invalid number for the specified region.
- getLeadingDigits() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getLeadingDigitsPattern(int) - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
-
- getLengthOfGeographicalAreaCode(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Gets the length of the geographical area code from the
PhoneNumber object passed in, so that clients could use it
to split a national significant number into geographical area code and subscriber number.
- getLengthOfNationalDestinationCode(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Gets the length of the national destination code (NDC) from the
PhoneNumber object passed in, so that clients could use it
to split a national significant number into NDC and subscriber number.
- getMainCountryForCode() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getMetadataCount() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadataCollection
-
- getMetadataList() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadataCollection
-
- getMobile() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getNationalNumber() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
-
- getNationalNumberPattern() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
-
- getNationalPrefix() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getNationalPrefixFormattingRule() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
-
- getNationalPrefixForParsing() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getNationalPrefixOptionalWhenFormatting() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
-
- getNationalPrefixTransformRule() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getNationalSignificantNumber(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Gets the national significant number of a phone number.
- getNddPrefixForRegion(String, boolean) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns the national dialling prefix for a specific region.
- getNoInternationalDialling() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getNumberFormat(int) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getNumberOfLeadingZeros() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
-
- getNumberType(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Gets the type of a valid phone number.
- getPager() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getPattern() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
-
- getPatternForRegex(String) - Method in class com.google.i18n.phonenumbers.internal.RegexCache
-
- getPersonalNumber() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getPossibleLength(int) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
-
- getPossibleLengthCount() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
-
- getPossibleLengthList() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
-
- getPossibleLengthLocalOnly(int) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
-
- getPossibleLengthLocalOnlyCount() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
-
- getPossibleLengthLocalOnlyList() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
-
- getPreferredDomesticCarrierCode() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
-
- getPreferredExtnPrefix() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getPreferredInternationalPrefix() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getPremiumRate() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getRawInput() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
-
- getRegionCodeForCountryCode(int) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns the region code that matches the specific country calling code.
- getRegionCodeForNumber(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns the region where a phone number is from.
- getRegionCodesForCountryCode(int) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns a list with the region codes that match the specific country calling code.
- getRememberedPosition() - Method in class com.google.i18n.phonenumbers.AsYouTypeFormatter
-
- getSameMobileAndFixedLinePattern() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getSharedCost() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getShortCode() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getSmsServices() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getStandardRate() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getSupportedCallingCodes() - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns all country calling codes the library has metadata for, covering both non-geographical
entities (global network calling codes) and those used for geographical entities.
- getSupportedGlobalNetworkCallingCodes() - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns all global network calling codes the library has metadata for.
- getSupportedRegions() - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns all regions the library has metadata for.
- getSupportedTypesForNonGeoEntity(int) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns the types for a country-code belonging to a non-geographical entity which the library
has metadata for.
- getSupportedTypesForRegion(String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns the types for a given region which the library has metadata for.
- getTollFree() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getUan() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getVoicemail() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getVoip() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- inputDigit(char) - Method in class com.google.i18n.phonenumbers.AsYouTypeFormatter
-
Formats a phone number on-the-fly as each digit is entered.
- inputDigitAndRememberPosition(char) - Method in class com.google.i18n.phonenumbers.AsYouTypeFormatter
-
- intlNumberFormats() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- intlNumberFormatSize() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- isAlphaNumber(CharSequence) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Checks if the number is a valid vanity (alpha) number such as 800 MICROSOFT.
- isCarrierSpecific(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Given a valid short number, determines whether it is carrier-specific (however, nothing is
implied about its validity).
- isCarrierSpecificForRegion(Phonenumber.PhoneNumber, String) - Method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Given a valid short number, determines whether it is carrier-specific when dialed from the
given region (however, nothing is implied about its validity).
- isEmergencyNumber(CharSequence, String) - Method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Returns true if the given number exactly matches an emergency service number in the given
region.
- isItalianLeadingZero() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
-
- isLeadingZeroPossible() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- isMainCountryForCode() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- isMobileNumberPortableRegion() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- isMobileNumberPortableRegion(String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns true if the supplied region supports mobile number portability.
- isNANPACountry(String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Checks if this is a region under the North American Numbering Plan Administration (NANPA).
- isNumberGeographical(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Tests whether a phone number has a geographical association.
- isNumberGeographical(PhoneNumberUtil.PhoneNumberType, int) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Overload of isNumberGeographical(PhoneNumber), since calculating the phone number type is
expensive; if we have already done this, we don't want to do it again.
- isNumberMatch(Phonenumber.PhoneNumber, Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Takes two phone numbers and compares them for equality.
- isNumberMatch(CharSequence, CharSequence) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Takes two phone numbers as strings and compares them for equality.
- isNumberMatch(Phonenumber.PhoneNumber, CharSequence) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Takes two phone numbers and compares them for equality.
- isPossibleNumber(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
- isPossibleNumber(CharSequence, String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Check whether a phone number is a possible number given a number in the form of a string, and
the region where the number could be dialed from.
- isPossibleNumberForType(Phonenumber.PhoneNumber, PhoneNumberUtil.PhoneNumberType) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
- isPossibleNumberForTypeWithReason(Phonenumber.PhoneNumber, PhoneNumberUtil.PhoneNumberType) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Check whether a phone number is a possible number of a particular type.
- isPossibleNumberWithReason(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Check whether a phone number is a possible number.
- isPossibleShortNumber(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Check whether a short number is a possible number.
- isPossibleShortNumberForRegion(Phonenumber.PhoneNumber, String) - Method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Check whether a short number is a possible number when dialed from the given region.
- isSmsServiceForRegion(Phonenumber.PhoneNumber, String) - Method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Given a valid short number, determines whether it is an SMS service (however, nothing is
implied about its validity).
- isValidNumber(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Tests whether a phone number matches a valid pattern.
- isValidNumberForRegion(Phonenumber.PhoneNumber, String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Tests whether a phone number is valid for a certain region.
- isValidShortNumber(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Tests whether a short number matches a valid pattern.
- isValidShortNumberForRegion(Phonenumber.PhoneNumber, String) - Method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Tests whether a short number matches a valid pattern in a region.
- valueOf(String) - Static method in enum com.google.i18n.phonenumbers.NumberParseException.ErrorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.i18n.phonenumbers.PhoneNumberUtil.MatchType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.i18n.phonenumbers.ShortNumberInfo.ShortNumberCost
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.google.i18n.phonenumbers.NumberParseException.ErrorType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.i18n.phonenumbers.PhoneNumberUtil.MatchType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.i18n.phonenumbers.ShortNumberInfo.ShortNumberCost
-
Returns an array containing the constants of this enum type, in
the order they are declared.