A B C E F G H I L M N P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addIntlNumberFormat(Phonemetadata.NumberFormat) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- addLeadingDigitsPattern(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- addMetadata(Phonemetadata.PhoneMetadata) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadataCollection
- addNumberFormat(Phonemetadata.NumberFormat) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- addPossibleLength(int) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
- addPossibleLengthLocalOnly(int) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
- AlternateFormatsCountryCodeSet - Class in com.google.i18n.phonenumbers
- AlternateFormatsCountryCodeSet() - Constructor for class com.google.i18n.phonenumbers.AlternateFormatsCountryCodeSet
- AsYouTypeFormatter - Class in com.google.i18n.phonenumbers
-
A formatter which formats phone numbers as they are entered.
B
- build() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat.Builder
- build() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata.Builder
- build() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadataCollection.Builder
- build() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc.Builder
- Builder() - Constructor for class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat.Builder
- Builder() - Constructor for class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata.Builder
- Builder() - Constructor for class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadataCollection.Builder
- Builder() - Constructor for class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc.Builder
C
- canBeInternationallyDialled(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns true if the number can be dialled from outside the region, or unknown.
- clear() - Method in class com.google.i18n.phonenumbers.AsYouTypeFormatter
-
Clears the internal state of the formatter, so it can be reused.
- clear() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadataCollection
- clear() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- clearCountryCode() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- clearCountryCodeSource() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- clearExampleNumber() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
- clearExtension() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- clearIntlNumberFormat() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- clearItalianLeadingZero() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- clearLeadingZeroPossible() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- clearMainCountryForCode() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- clearMobileNumberPortableRegion() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- clearNationalNumber() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- clearNationalNumberPattern() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
- clearNationalPrefix() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- clearNationalPrefixFormattingRule() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- clearNationalPrefixTransformRule() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- clearNumberOfLeadingZeros() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- clearPossibleLength() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
- clearPossibleLengthLocalOnly() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
- clearPreferredDomesticCarrierCode() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- clearPreferredExtnPrefix() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- clearPreferredInternationalPrefix() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- clearRawInput() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- clearSameMobileAndFixedLinePattern() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- com.google.i18n.phonenumbers - package com.google.i18n.phonenumbers
- com.google.i18n.phonenumbers.internal - package com.google.i18n.phonenumbers.internal
- connectsToEmergencyNumber(String, String) - Method in class com.google.i18n.phonenumbers.ShortNumberInfo
-
Returns true if the given number, exactly as dialed, might be used to connect to an emergency service in the given region.
- convertAlphaCharactersInNumber(CharSequence) - Static method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Converts all alpha characters in a number to their respective digits on a keypad, but retains existing formatting.
- CountryCodeToRegionCodeMap - Class in com.google.i18n.phonenumbers
- CountryCodeToRegionCodeMap() - Constructor for class com.google.i18n.phonenumbers.CountryCodeToRegionCodeMap
- create() - Static method in class com.google.i18n.phonenumbers.internal.RegexBasedMatcher
- createInstance(MetadataLoader) - Static method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Create a new
PhoneNumberUtil
instance to carry out international phone number formatting, parsing, or validation.
E
- E164 - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat
- end() - Method in class com.google.i18n.phonenumbers.PhoneNumberMatch
-
Returns the exclusive end index of the matched phone number within the searched text.
- equals(Object) - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- equals(Object) - Method in class com.google.i18n.phonenumbers.PhoneNumberMatch
- EXACT_GROUPING - com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency
-
Phone numbers accepted are valid and are grouped in the same way that we would have formatted it, or as a single block.
- EXACT_MATCH - com.google.i18n.phonenumbers.PhoneNumberUtil.MatchType
- exactlySameAs(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
- exactlySameAs(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
F
- findNumbers(CharSequence, String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns an iterable over all
PhoneNumberMatches
intext
. - findNumbers(CharSequence, String, PhoneNumberUtil.Leniency, long) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns an iterable over all
PhoneNumberMatches
intext
. - FIXED_LINE - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- FIXED_LINE_OR_MOBILE - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- format(Phonenumber.PhoneNumber, PhoneNumberUtil.PhoneNumberFormat) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Formats a phone number in the specified format using default rules.
- format(Phonenumber.PhoneNumber, PhoneNumberUtil.PhoneNumberFormat, StringBuilder) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Same as
PhoneNumberUtil.format(PhoneNumber, PhoneNumberFormat)
, but accepts a mutable StringBuilder as a parameter to decrease object creation when invoked many times. - formatByPattern(Phonenumber.PhoneNumber, PhoneNumberUtil.PhoneNumberFormat, List<Phonemetadata.NumberFormat>) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Formats a phone number in the specified format using client-defined formatting rules.
- formatInOriginalFormat(Phonenumber.PhoneNumber, String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Formats a phone number using the original phone number format that the number is parsed from.
- formatNationalNumberWithCarrierCode(Phonenumber.PhoneNumber, CharSequence) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Formats a phone number in national format for dialing using the carrier as specified in the
carrierCode
. - formatNationalNumberWithPreferredCarrierCode(Phonenumber.PhoneNumber, CharSequence) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Formats a phone number in national format for dialing using the carrier as specified in the preferredDomesticCarrierCode field of the PhoneNumber object passed in.
- formatNumberForMobileDialing(Phonenumber.PhoneNumber, String, boolean) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Returns a number formatted in such a way that it can be dialed from a mobile phone in a specific region.
- formatOutOfCountryCallingNumber(Phonenumber.PhoneNumber, String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Formats a phone number for out-of-country dialing purposes.
- formatOutOfCountryKeepingAlphaChars(Phonenumber.PhoneNumber, String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Formats a phone number for out-of-country dialing purposes.
- FROM_DEFAULT_COUNTRY - com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource
- FROM_NUMBER_WITH_IDD - com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource
- FROM_NUMBER_WITH_PLUS_SIGN - com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource
- FROM_NUMBER_WITHOUT_PLUS_SIGN - com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource
G
- getAsYouTypeFormatter(String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Gets an
AsYouTypeFormatter
for the specific region. - 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(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).
- 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(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
- getGeneralDescBuilder() - 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
- getIntlNumberFormatCount() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- getIntlNumberFormatList() - 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
- getLeadingDigitsPatternCount() - 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
- getMobileNumberPortableRegion() - 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
- getNumberFormatCount() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- getNumberFormatList() - 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
-
Returns the current position in the partially formatted phone number of the character which was previously passed in as the parameter of
AsYouTypeFormatter.inputDigitAndRememberPosition(char)
. - 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
H
- hasCarrierSpecific() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasCountryCode() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasCountryCode() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- hasCountryCodeSource() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- hasDomesticCarrierCodeFormattingRule() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- hasEmergency() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasExampleNumber() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
- hasExtension() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- hasFixedLine() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasFormat() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- hasGeneralDesc() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hashCode() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- hashCode() - Method in class com.google.i18n.phonenumbers.PhoneNumberMatch
- hasId() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasInternationalPrefix() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasItalianLeadingZero() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- hasLeadingDigits() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasLeadingZeroPossible() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasMainCountryForCode() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasMobile() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasMobileNumberPortableRegion() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasNationalNumber() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- hasNationalNumberPattern() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
- hasNationalPrefix() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasNationalPrefixFormattingRule() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- hasNationalPrefixForParsing() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasNationalPrefixOptionalWhenFormatting() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- hasNationalPrefixTransformRule() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasNoInternationalDialling() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasNumberOfLeadingZeros() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- hasPager() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasPattern() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- hasPersonalNumber() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasPreferredDomesticCarrierCode() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- hasPreferredExtnPrefix() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasPreferredInternationalPrefix() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasPremiumRate() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasRawInput() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- hasSameMobileAndFixedLinePattern() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasSharedCost() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasShortCode() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasSmsServices() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasStandardRate() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasTollFree() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasUan() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasVoicemail() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- hasVoip() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
I
- 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
-
Same as
AsYouTypeFormatter.inputDigit(char)
, but remembers the position wherenextChar
is inserted, so that it can be retrieved later by usingAsYouTypeFormatter.getRememberedPosition()
. - INTERNATIONAL - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat
- intlNumberFormats() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
Deprecated.
- intlNumberFormatSize() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
Deprecated.
- INVALID_COUNTRY_CODE - com.google.i18n.phonenumbers.NumberParseException.ErrorType
-
The country code supplied did not belong to a supported country or non-geographical entity.
- INVALID_COUNTRY_CODE - com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult
-
The number has an invalid country calling code.
- INVALID_LENGTH - com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult
-
The number is longer than the shortest valid numbers for this region, shorter than the longest valid numbers for this region, and does not itself have a number length that matches valid numbers for this region.
- IS_POSSIBLE - com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult
-
The number length matches that of valid numbers for this region.
- IS_POSSIBLE_LOCAL_ONLY - com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult
-
The number length matches that of local numbers for this region only (i.e.
- 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
-
Deprecated.
- 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(Phonenumber.PhoneNumber, CharSequence) - 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.
- isPossibleNumber(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Convenience wrapper around
PhoneNumberUtil.isPossibleNumberWithReason(com.google.i18n.phonenumbers.Phonenumber.PhoneNumber)
. - 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.
L
- leadingDigitPatterns() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- leadingDigitsPatternSize() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
-
Deprecated.
- loadMetadata(String) - Method in interface com.google.i18n.phonenumbers.MetadataLoader
-
Returns an input stream corresponding to the metadata to load.
M
- MatcherApi - Interface in com.google.i18n.phonenumbers.internal
-
Internal phonenumber matching API used to isolate the underlying implementation of the matcher and allow different implementations to be swapped in easily.
- matchNationalNumber(CharSequence, Phonemetadata.PhoneNumberDesc, boolean) - Method in interface com.google.i18n.phonenumbers.internal.MatcherApi
-
Returns whether the given national number (a string containing only decimal digits) matches the national number pattern defined in the given
PhoneNumberDesc
message. - matchNationalNumber(CharSequence, Phonemetadata.PhoneNumberDesc, boolean) - Method in class com.google.i18n.phonenumbers.internal.RegexBasedMatcher
- mergeFrom(Phonemetadata.NumberFormat) - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat.Builder
- mergeFrom(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc.Builder
- mergeFrom(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- MetadataLoader - Interface in com.google.i18n.phonenumbers
-
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.
- MOBILE - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
N
- NATIONAL - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat
- newBuilder() - Static method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- newBuilder() - Static method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- newBuilder() - Static method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadataCollection
- newBuilder() - Static method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
- NO_MATCH - com.google.i18n.phonenumbers.PhoneNumberUtil.MatchType
- normalizeDiallableCharsOnly(CharSequence) - Static method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Normalizes a string of characters representing a phone number.
- normalizeDigitsOnly(CharSequence) - Static method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Normalizes a string of characters representing a phone number.
- NOT_A_NUMBER - com.google.i18n.phonenumbers.NumberParseException.ErrorType
-
This generally indicates the string passed in had less than 3 digits in it.
- NOT_A_NUMBER - com.google.i18n.phonenumbers.PhoneNumberUtil.MatchType
- NSN_MATCH - com.google.i18n.phonenumbers.PhoneNumberUtil.MatchType
- number() - Method in class com.google.i18n.phonenumbers.PhoneNumberMatch
-
Returns the phone number matched by the receiver.
- NumberFormat() - Constructor for class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- numberFormats() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
Deprecated.
- numberFormatSize() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
-
Deprecated.
- NumberParseException - Exception in com.google.i18n.phonenumbers
-
Generic exception class for errors encountered when parsing phone numbers.
- NumberParseException(NumberParseException.ErrorType, String) - Constructor for exception com.google.i18n.phonenumbers.NumberParseException
- NumberParseException.ErrorType - Enum in com.google.i18n.phonenumbers
-
The reason that a string could not be interpreted as a phone number.
P
- PAGER - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- parse(CharSequence, String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Parses a string and returns it as a phone number in proto buffer format.
- parse(CharSequence, String, Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Same as
PhoneNumberUtil.parse(CharSequence, String)
, but accepts mutable PhoneNumber as a parameter to decrease object creation when invoked many times. - parseAndKeepRawInput(CharSequence, String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Parses a string and returns it in proto buffer format.
- parseAndKeepRawInput(CharSequence, String, Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Same as
PhoneNumberUtil.parseAndKeepRawInput(CharSequence, String)
, but accepts a mutable PhoneNumber as a parameter to decrease object creation when invoked many times. - PERSONAL_NUMBER - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- Phonemetadata - Class in com.google.i18n.phonenumbers
- PhoneMetadata() - Constructor for class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- Phonemetadata.NumberFormat - Class in com.google.i18n.phonenumbers
- Phonemetadata.NumberFormat.Builder - Class in com.google.i18n.phonenumbers
-
Provides a dummy builder to 'emulate' the API of the code generated by the latest version of Protocol Buffers.
- Phonemetadata.PhoneMetadata - Class in com.google.i18n.phonenumbers
- Phonemetadata.PhoneMetadata.Builder - Class in com.google.i18n.phonenumbers
-
Provides a dummy builder.
- Phonemetadata.PhoneMetadataCollection - Class in com.google.i18n.phonenumbers
- Phonemetadata.PhoneMetadataCollection.Builder - Class in com.google.i18n.phonenumbers
-
Provides a dummy builder.
- Phonemetadata.PhoneNumberDesc - Class in com.google.i18n.phonenumbers
- Phonemetadata.PhoneNumberDesc.Builder - Class in com.google.i18n.phonenumbers
-
Provides a dummy builder.
- PhoneMetadataCollection() - Constructor for class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadataCollection
- Phonenumber - Class in com.google.i18n.phonenumbers
- PhoneNumber() - Constructor for class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- Phonenumber.PhoneNumber - Class in com.google.i18n.phonenumbers
- Phonenumber.PhoneNumber.CountryCodeSource - Enum in com.google.i18n.phonenumbers
- PhoneNumberDesc() - Constructor for class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
- PhoneNumberMatch - Class in com.google.i18n.phonenumbers
-
The immutable match of a phone number within a piece of text.
- PhoneNumberUtil - Class in com.google.i18n.phonenumbers
-
Utility for international phone numbers.
- PhoneNumberUtil.Leniency - Enum in com.google.i18n.phonenumbers
-
Leniency when finding potential phone numbers in text segments.
- PhoneNumberUtil.MatchType - Enum in com.google.i18n.phonenumbers
-
Types of phone number matches.
- PhoneNumberUtil.PhoneNumberFormat - Enum in com.google.i18n.phonenumbers
-
INTERNATIONAL and NATIONAL formats are consistent with the definition in ITU-T Recommendation E.123.
- PhoneNumberUtil.PhoneNumberType - Enum in com.google.i18n.phonenumbers
-
Type of phone numbers.
- PhoneNumberUtil.ValidationResult - Enum in com.google.i18n.phonenumbers
-
Possible outcomes when testing if a PhoneNumber is possible.
- POSSIBLE - com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency
- PREMIUM_RATE - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- PREMIUM_RATE - com.google.i18n.phonenumbers.ShortNumberInfo.ShortNumberCost
R
- rawString() - Method in class com.google.i18n.phonenumbers.PhoneNumberMatch
-
Returns the raw string matched as a phone number in the searched text.
- readExternal(ObjectInput) - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- readExternal(ObjectInput) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- readExternal(ObjectInput) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadataCollection
- readExternal(ObjectInput) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
- RegexBasedMatcher - Class in com.google.i18n.phonenumbers.internal
-
Implementation of the matcher API using the regular expressions in the PhoneNumberDesc proto message to match numbers.
- RegexCache - Class in com.google.i18n.phonenumbers.internal
-
LRU Cache for compiled regular expressions used by the libphonenumbers libary.
- RegexCache(int) - Constructor for class com.google.i18n.phonenumbers.internal.RegexCache
- REGION_CODE_FOR_NON_GEO_ENTITY - Static variable in class com.google.i18n.phonenumbers.PhoneNumberUtil
- RFC3966 - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat
S
- setCarrierSpecific(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setCountryCode(int) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setCountryCode(int) - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- setCountryCodeSource(Phonenumber.PhoneNumber.CountryCodeSource) - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- setDomesticCarrierCodeFormattingRule(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- setEmergency(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setExampleNumber(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
- setExtension(String) - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- setFixedLine(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setFormat(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- setGeneralDesc(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setId(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata.Builder
- setId(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setInternationalPrefix(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata.Builder
- setInternationalPrefix(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setItalianLeadingZero(boolean) - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- setLeadingDigits(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setLeadingZeroPossible(boolean) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setMainCountryForCode(boolean) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setMobile(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setMobileNumberPortableRegion(boolean) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setNationalNumber(long) - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- setNationalNumberPattern(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
- setNationalPrefix(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setNationalPrefixFormattingRule(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- setNationalPrefixForParsing(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setNationalPrefixOptionalWhenFormatting(boolean) - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- setNationalPrefixTransformRule(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setNoInternationalDialling(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setNumberOfLeadingZeros(int) - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- setPager(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setPattern(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- setPersonalNumber(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setPreferredDomesticCarrierCode(String) - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- setPreferredExtnPrefix(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setPreferredInternationalPrefix(String) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setPremiumRate(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setRawInput(String) - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- setSameMobileAndFixedLinePattern(boolean) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setSharedCost(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setShortCode(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setSmsServices(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setStandardRate(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setTollFree(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setUan(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setVoicemail(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- setVoip(Phonemetadata.PhoneNumberDesc) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- SHARED_COST - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- SHORT_NSN_MATCH - com.google.i18n.phonenumbers.PhoneNumberUtil.MatchType
- ShortNumberInfo - Class in com.google.i18n.phonenumbers
-
Methods for getting information about short phone numbers, such as short codes and emergency numbers.
- ShortNumberInfo.ShortNumberCost - Enum in com.google.i18n.phonenumbers
-
Cost categories of short numbers.
- ShortNumbersRegionCodeSet - Class in com.google.i18n.phonenumbers
- ShortNumbersRegionCodeSet() - Constructor for class com.google.i18n.phonenumbers.ShortNumbersRegionCodeSet
- STANDARD_RATE - com.google.i18n.phonenumbers.ShortNumberInfo.ShortNumberCost
- start() - Method in class com.google.i18n.phonenumbers.PhoneNumberMatch
-
Returns the start index of the matched phone number within the searched text.
- STRICT_GROUPING - com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency
-
Phone numbers accepted are valid and are grouped in a possible way for this locale.
T
- TOLL_FREE - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- TOLL_FREE - com.google.i18n.phonenumbers.ShortNumberInfo.ShortNumberCost
- TOO_LONG - com.google.i18n.phonenumbers.NumberParseException.ErrorType
-
This indicates the string had more digits than any valid phone number could have.
- TOO_LONG - com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult
-
The number is longer than all valid numbers for this region.
- TOO_SHORT - com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult
-
The number is shorter than all valid numbers for this region.
- TOO_SHORT_AFTER_IDD - com.google.i18n.phonenumbers.NumberParseException.ErrorType
-
This indicates the string started with an international dialing prefix, but after this was stripped from the number, had less digits than any valid phone number (including country code) could have.
- TOO_SHORT_NSN - com.google.i18n.phonenumbers.NumberParseException.ErrorType
-
This indicates the string, after any country code has been stripped, had less digits than any valid phone number could have.
- toString() - Method in exception com.google.i18n.phonenumbers.NumberParseException
- toString() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- toString() - Method in class com.google.i18n.phonenumbers.PhoneNumberMatch
- truncateTooLongNumber(Phonenumber.PhoneNumber) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Attempts to extract a valid number from a phone number that is too long to be valid, and resets the PhoneNumber object passed in to that valid version.
U
- UAN - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- UNKNOWN - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- UNKNOWN_COST - com.google.i18n.phonenumbers.ShortNumberInfo.ShortNumberCost
- UNSPECIFIED - com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource
V
- VALID - com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency
- 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.
- VOICEMAIL - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- VOIP - com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
W
- writeExternal(ObjectOutput) - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- writeExternal(ObjectOutput) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- writeExternal(ObjectOutput) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadataCollection
- writeExternal(ObjectOutput) - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc
All Classes All Packages