- 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.
- 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(String, String) - Method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Deprecated.
Anyone who was using it and passing in a string with whitespace (or other
formatting characters) would have been getting the wrong result. You should parse
the string to PhoneNumber and use the method
#getExpectedCostForRegion(PhoneNumber, String)
. This method will be
removed in the next release.
- 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
-
- 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
-
- 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 the 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 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.RegexCache
-
- getPersonalNumber() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getPossibleNumberPattern() - 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
-
- getSharedCost() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getShortCode() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getStandardRate() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- getSupportedGlobalNetworkCallingCodes() - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Convenience method to get a list of what global network calling codes the library has metadata
for.
- getSupportedRegions() - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Convenience method to get a list of what regions the library has metadata for.
- getSupportedRegions() - Method in class com.google.i18n.phonenumbers.ShortNumberUtil
-
Deprecated.
Convenience method to get a list of what regions 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(String) - 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).
- isEmergencyNumber(String, 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.
- isEmergencyNumber(String, String) - Method in class com.google.i18n.phonenumbers.ShortNumberUtil
-
Deprecated.
Returns true if the 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).
- isNationalPrefixOptionalWhenFormatting() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
-
- isNumberMatch(Phonenumber.PhoneNumber, Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Takes two phone numbers and compares them for equality.
- isNumberMatch(String, String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Takes two phone numbers as strings and compares them for equality.
- isNumberMatch(Phonenumber.PhoneNumber, String) - 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(String, 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.
- 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(String, String) - Method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Deprecated.
Anyone who was using it and passing in a string with whitespace (or other
formatting characters) would have been getting the wrong result. You should parse
the string to PhoneNumber and use the method
#isPossibleShortNumberForRegion(PhoneNumber, String)
. This method will be
removed in the next release.
- 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.
- isSameMobileAndFixedLinePattern() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
- 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(String, String) - Method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Deprecated.
Anyone who was using it and passing in a string with whitespace (or other
formatting characters) would have been getting the wrong result. You should parse
the string to PhoneNumber and use the method
#isValidShortNumberForRegion(PhoneNumber, String)
. This method will be
removed in the next release.
- 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.
- valueOf(String) - Static method in enum com.google.i18n.phonenumbers.ShortNumberUtil.ShortNumberCost
-
Deprecated.
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.
- values() - Static method in enum com.google.i18n.phonenumbers.ShortNumberUtil.ShortNumberCost
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.