Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
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.
- ClassPathResourceMetadataLoader - Class in com.google.i18n.phonenumbers.metadata.init
-
A
MetadataLoader
implementation that reads phone number metadata files as classpath resources. - ClassPathResourceMetadataLoader() - Constructor for class com.google.i18n.phonenumbers.metadata.init.ClassPathResourceMetadataLoader
- 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
- 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
- com.google.i18n.phonenumbers.metadata - package com.google.i18n.phonenumbers.metadata
- com.google.i18n.phonenumbers.metadata.init - package com.google.i18n.phonenumbers.metadata.init
- com.google.i18n.phonenumbers.metadata.source - package com.google.i18n.phonenumbers.metadata.source
- 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.
D
- DefaultMetadataDependenciesProvider - Class in com.google.i18n.phonenumbers.metadata
-
Provides metadata init and source dependencies when metadata is stored in multi-file mode and loaded as a classpath resource.
E
- E164 - Enum constant in enum class 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 - Enum constant in enum class 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 - Enum constant in enum class 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 - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- FIXED_LINE_OR_MOBILE - Enum constant in enum class 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 (e.g.
- 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.
- FormattingMetadataSource - Interface in com.google.i18n.phonenumbers.metadata.source
-
A source of formatting phone metadata.
- FormattingMetadataSourceImpl - Class in com.google.i18n.phonenumbers.metadata.source
-
Implementation of
FormattingMetadataSource
guarded byMetadataBootstrappingGuard
- FormattingMetadataSourceImpl(PhoneMetadataFileNameProvider, MetadataBootstrappingGuard<MapBackedMetadataContainer<Integer>>) - Constructor for class com.google.i18n.phonenumbers.metadata.source.FormattingMetadataSourceImpl
- FormattingMetadataSourceImpl(PhoneMetadataFileNameProvider, MetadataLoader, MetadataParser) - Constructor for class com.google.i18n.phonenumbers.metadata.source.FormattingMetadataSourceImpl
- FROM_DEFAULT_COUNTRY - Enum constant in enum class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource
- FROM_NUMBER_WITH_IDD - Enum constant in enum class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource
- FROM_NUMBER_WITH_PLUS_SIGN - Enum constant in enum class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource
- FROM_NUMBER_WITHOUT_PLUS_SIGN - Enum constant in enum class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource
G
- GeoEntityUtility - Class in com.google.i18n.phonenumbers.internal
-
Utility class for checking whether identifiers region code and country calling code belong to geographical entities.
- getAlternateFormatsMetadataFileNameProvider() - Method in class com.google.i18n.phonenumbers.metadata.DefaultMetadataDependenciesProvider
- getAlternateFormatsMetadataSource() - Method in class com.google.i18n.phonenumbers.metadata.DefaultMetadataDependenciesProvider
- getAsYouTypeFormatter(String) - Method in class com.google.i18n.phonenumbers.PhoneNumberUtil
-
Gets an
AsYouTypeFormatter
for the specific region. - getCarrierDataDirectory() - Method in class com.google.i18n.phonenumbers.metadata.DefaultMetadataDependenciesProvider
- 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.
- getCountryCodeSet() - Static method in class com.google.i18n.phonenumbers.AlternateFormatsCountryCodeSet
- getCountryCodeSource() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- getCountryCodeToRegionCodeMap() - Static method in class com.google.i18n.phonenumbers.CountryCodeToRegionCodeMap
- 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
- getFor(Object) - Method in class com.google.i18n.phonenumbers.metadata.source.MultiFileModeFileNameProvider
- getFor(Object) - Method in interface com.google.i18n.phonenumbers.metadata.source.PhoneMetadataFileNameProvider
-
Returns phone metadata file path for the given key.
- getFor(Object) - Method in class com.google.i18n.phonenumbers.metadata.source.SingleFileModeFileNameProvider
- getFormat() - Method in class com.google.i18n.phonenumbers.Phonemetadata.NumberFormat
- getFormattingMetadataForCountryCallingCode(int) - Method in interface com.google.i18n.phonenumbers.metadata.source.FormattingMetadataSource
-
Returns formatting phone metadata for provided country calling code.
- getFormattingMetadataForCountryCallingCode(int) - Method in class com.google.i18n.phonenumbers.metadata.source.FormattingMetadataSourceImpl
- getGeneralDesc() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- getGeneralDescBuilder() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- getGeocodingDataDirectory() - Method in class com.google.i18n.phonenumbers.metadata.DefaultMetadataDependenciesProvider
- getId() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata
- getInstance() - Static method in class com.google.i18n.phonenumbers.metadata.DefaultMetadataDependenciesProvider
- 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
- getMetadataForNonGeographicalRegion(int) - Method in class com.google.i18n.phonenumbers.metadata.source.MetadataSourceImpl
- getMetadataForNonGeographicalRegion(int) - Method in interface com.google.i18n.phonenumbers.metadata.source.NonGeographicalEntityMetadataSource
-
Gets phone metadata for a non-geographical entity.
- getMetadataForRegion(String) - Method in class com.google.i18n.phonenumbers.metadata.source.MetadataSourceImpl
- getMetadataForRegion(String) - Method in interface com.google.i18n.phonenumbers.metadata.source.RegionMetadataSource
-
Returns phone metadata for provided geographical region.
- getMetadataForRegion(String) - Method in class com.google.i18n.phonenumbers.metadata.source.RegionMetadataSourceImpl
- getMetadataList() - Method in class com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadataCollection
- getMetadataLoader() - Method in class com.google.i18n.phonenumbers.metadata.DefaultMetadataDependenciesProvider
- getMetadataParser() - Method in class com.google.i18n.phonenumbers.metadata.DefaultMetadataDependenciesProvider
- 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.
- getOrBootstrap(String) - Method in interface com.google.i18n.phonenumbers.metadata.source.MetadataBootstrappingGuard
-
If metadata from the provided file has not yet been read, invokes loading and parsing from the provided file and adds the result to guarded
MetadataContainer
. - 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
- getPhoneNumberMetadataFileNameProvider() - Method in class com.google.i18n.phonenumbers.metadata.DefaultMetadataDependenciesProvider
- getPhoneNumberMetadataSource() - Method in class com.google.i18n.phonenumbers.metadata.DefaultMetadataDependenciesProvider
- 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.
- getRegionCodeSet() - Static method in class com.google.i18n.phonenumbers.ShortNumbersRegionCodeSet
- 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
- getShortNumberMetadataFileNameProvider() - Method in class com.google.i18n.phonenumbers.metadata.DefaultMetadataDependenciesProvider
- getShortNumberMetadataSource() - Method in class com.google.i18n.phonenumbers.metadata.DefaultMetadataDependenciesProvider
- 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
- 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 - Enum constant in enum class 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 - Enum constant in enum class com.google.i18n.phonenumbers.NumberParseException.ErrorType
-
The country code supplied did not belong to a supported country or non-geographical entity.
- INVALID_COUNTRY_CODE - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult
-
The number has an invalid country calling code.
- INVALID_LENGTH - Enum constant in enum class 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 - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult
-
The number length matches that of valid numbers for this region.
- IS_POSSIBLE_LOCAL_ONLY - Enum constant in enum class 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.
- isGeoEntity(int) - Static method in class com.google.i18n.phonenumbers.internal.GeoEntityUtility
-
Determines whether
countryCallingCode
belongs to a geographical entity. - isGeoEntity(String) - Static method in class com.google.i18n.phonenumbers.internal.GeoEntityUtility
-
Determines whether
regionCode
belongs to a geographical entity. - isItalianLeadingZero() - Method in class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber
- 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 class com.google.i18n.phonenumbers.metadata.init.ClassPathResourceMetadataLoader
- 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
- MetadataBootstrappingGuard<T extends com.google.i18n.phonenumbers.metadata.source.MetadataContainer> - Interface in com.google.i18n.phonenumbers.metadata.source
-
Guard that ensures that metadata bootstrapping process (loading and parsing) is triggered only once per metadata file.
- 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.
- MetadataParser - Class in com.google.i18n.phonenumbers.metadata.init
-
Exposes single method for parsing
InputStream
content intoCollection
ofPhonemetadata.PhoneMetadata
- MetadataSource - Interface in com.google.i18n.phonenumbers.metadata.source
-
A source of phone metadata split by different regions.
- MetadataSourceImpl - Class in com.google.i18n.phonenumbers.metadata.source
-
Implementation of
MetadataSource
guarded byMetadataBootstrappingGuard
. - MetadataSourceImpl(PhoneMetadataFileNameProvider, MetadataBootstrappingGuard<CompositeMetadataContainer>) - Constructor for class com.google.i18n.phonenumbers.metadata.source.MetadataSourceImpl
- MetadataSourceImpl(PhoneMetadataFileNameProvider, MetadataLoader, MetadataParser) - Constructor for class com.google.i18n.phonenumbers.metadata.source.MetadataSourceImpl
- MissingMetadataException - Exception in com.google.i18n.phonenumbers
-
Exception class for cases when expected metadata cannot be found.
- MissingMetadataException(String) - Constructor for exception com.google.i18n.phonenumbers.MissingMetadataException
- MOBILE - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- MultiFileModeFileNameProvider - Class in com.google.i18n.phonenumbers.metadata.source
-
PhoneMetadataFileNameProvider
implementation which appends key as a suffix to the predefined metadata file name base. - MultiFileModeFileNameProvider(String) - Constructor for class com.google.i18n.phonenumbers.metadata.source.MultiFileModeFileNameProvider
N
- NATIONAL - Enum constant in enum class 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
- newLenientParser() - Static method in class com.google.i18n.phonenumbers.metadata.init.MetadataParser
-
Creates new instance in lenient mode, see
MetadataParser.parse(InputStream)
for more info. - newStrictParser() - Static method in class com.google.i18n.phonenumbers.metadata.init.MetadataParser
-
Creates new instance in strict mode, see
MetadataParser.parse(InputStream)
for more info - NO_MATCH - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.MatchType
- NonGeographicalEntityMetadataSource - Interface in com.google.i18n.phonenumbers.metadata.source
-
A source of phone metadata for non-geographical entities.
- 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 - Enum constant in enum class com.google.i18n.phonenumbers.NumberParseException.ErrorType
-
This indicates the string passed is not a valid number.
- NOT_A_NUMBER - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.MatchType
- NSN_MATCH - Enum constant in enum class 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 Class in com.google.i18n.phonenumbers
-
The reason that a string could not be interpreted as a phone number.
P
- PAGER - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- parse(InputStream) - Method in class com.google.i18n.phonenumbers.metadata.init.MetadataParser
- 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 - Enum constant in enum class 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
- PhoneMetadataFileNameProvider - Interface in com.google.i18n.phonenumbers.metadata.source
-
Abstraction responsible for inferring the metadata file name.
- 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 Class 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 Class in com.google.i18n.phonenumbers
-
Leniency when finding potential phone numbers in text segments.
- PhoneNumberUtil.MatchType - Enum Class in com.google.i18n.phonenumbers
-
Types of phone number matches.
- PhoneNumberUtil.PhoneNumberFormat - Enum Class in com.google.i18n.phonenumbers
-
INTERNATIONAL and NATIONAL formats are consistent with the definition in ITU-T Recommendation E.123.
- PhoneNumberUtil.PhoneNumberType - Enum Class in com.google.i18n.phonenumbers
-
Type of phone numbers.
- PhoneNumberUtil.ValidationResult - Enum Class in com.google.i18n.phonenumbers
-
Possible outcomes when testing if a PhoneNumber is possible.
- POSSIBLE - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency
- PREMIUM_RATE - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- PREMIUM_RATE - Enum constant in enum class 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_ENTITIES - Static variable in class com.google.i18n.phonenumbers.internal.GeoEntityUtility
-
Region code with a special meaning, used to mark non-geographical entities
- REGION_CODE_FOR_NON_GEO_ENTITY - Static variable in class com.google.i18n.phonenumbers.PhoneNumberUtil
- RegionMetadataSource - Interface in com.google.i18n.phonenumbers.metadata.source
-
A source of phone metadata split by geographical regions.
- RegionMetadataSourceImpl - Class in com.google.i18n.phonenumbers.metadata.source
-
Implementation of
RegionMetadataSource
guarded byMetadataBootstrappingGuard
- RegionMetadataSourceImpl(PhoneMetadataFileNameProvider, MetadataBootstrappingGuard<MapBackedMetadataContainer<String>>) - Constructor for class com.google.i18n.phonenumbers.metadata.source.RegionMetadataSourceImpl
- RegionMetadataSourceImpl(PhoneMetadataFileNameProvider, MetadataLoader, MetadataParser) - Constructor for class com.google.i18n.phonenumbers.metadata.source.RegionMetadataSourceImpl
- RFC3966 - Enum constant in enum class 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
- 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 - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- SHORT_NSN_MATCH - Enum constant in enum class 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 Class 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
- SingleFileModeFileNameProvider - Class in com.google.i18n.phonenumbers.metadata.source
-
PhoneMetadataFileNameProvider
implementation that returns the same metadata file name for each key - SingleFileModeFileNameProvider(String) - Constructor for class com.google.i18n.phonenumbers.metadata.source.SingleFileModeFileNameProvider
- STANDARD_RATE - Enum constant in enum class 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 - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency
-
Phone numbers accepted are valid and are grouped in a possible way for this locale.
T
- TOLL_FREE - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- TOLL_FREE - Enum constant in enum class com.google.i18n.phonenumbers.ShortNumberInfo.ShortNumberCost
- TOO_LONG - Enum constant in enum class com.google.i18n.phonenumbers.NumberParseException.ErrorType
-
This indicates the string had more digits than any valid phone number could have.
- TOO_LONG - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult
-
The number is longer than all valid numbers for this region.
- TOO_SHORT - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult
-
The number is shorter than all valid numbers for this region.
- TOO_SHORT_AFTER_IDD - Enum constant in enum class 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 - Enum constant in enum class 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 - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- UNKNOWN - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- UNKNOWN_COST - Enum constant in enum class com.google.i18n.phonenumbers.ShortNumberInfo.ShortNumberCost
- UNSPECIFIED - Enum constant in enum class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource
V
- VALID - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency
- valueOf(String) - Static method in enum class com.google.i18n.phonenumbers.NumberParseException.ErrorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.MatchType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.i18n.phonenumbers.ShortNumberInfo.ShortNumberCost
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.google.i18n.phonenumbers.NumberParseException.ErrorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.MatchType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.i18n.phonenumbers.ShortNumberInfo.ShortNumberCost
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VOICEMAIL - Enum constant in enum class com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
- VOIP - Enum constant in enum class 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 and Interfaces|All Packages|Constant Field Values|Serialized Form