@ThreadSafe @Immutable public class TypeEnabledPhoneNumber extends PhoneNumber
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeEnabledPhoneNumber.Adapter |
static class |
TypeEnabledPhoneNumber.Type |
PhoneNumber.Format| Constructor and Description |
|---|
TypeEnabledPhoneNumber(TypeEnabledPhoneNumber.Type type,
PhoneNumber value) |
TypeEnabledPhoneNumber(TypeEnabledPhoneNumber.Type type,
java.lang.String value) |
TypeEnabledPhoneNumber(TypeEnabledPhoneNumber.Type type,
java.lang.String value,
java.lang.String region) |
| Modifier and Type | Method and Description |
|---|---|
TypeEnabledPhoneNumber.Type |
getType() |
static TypeEnabledPhoneNumber |
phoneNumber(TypeEnabledPhoneNumber.Type type,
PhoneNumber value) |
static TypeEnabledPhoneNumber |
phoneNumber(TypeEnabledPhoneNumber.Type type,
java.lang.String value) |
static TypeEnabledPhoneNumber |
phoneNumber(TypeEnabledPhoneNumber.Type type,
java.lang.String value,
java.lang.String region) |
equals, format, format, getCountry, getCountryCode, getExtension, getNational, hasCountry, hasCountryCode, hasExtension, hashCode, hasNational, toStringpublic TypeEnabledPhoneNumber(@Nonnull
TypeEnabledPhoneNumber.Type type,
@Nonnull
java.lang.String value)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic TypeEnabledPhoneNumber(@Nonnull
TypeEnabledPhoneNumber.Type type,
@Nonnull
java.lang.String value,
@Nullable
java.lang.String region)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic TypeEnabledPhoneNumber(@Nonnull
TypeEnabledPhoneNumber.Type type,
@Nonnull
PhoneNumber value)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException@Nonnull public static TypeEnabledPhoneNumber phoneNumber(@Nonnull TypeEnabledPhoneNumber.Type type, @Nonnull java.lang.String value)
@Nonnull public static TypeEnabledPhoneNumber phoneNumber(@Nonnull TypeEnabledPhoneNumber.Type type, @Nonnull java.lang.String value, @Nullable java.lang.String region)
@Nonnull public static TypeEnabledPhoneNumber phoneNumber(@Nonnull TypeEnabledPhoneNumber.Type type, @Nonnull PhoneNumber value)
@Nonnull public TypeEnabledPhoneNumber.Type getType()
Copyright © 2013 echocat. All Rights Reserved.