public final class Telephone extends Property
| Modifier and Type | Class and Description |
|---|---|
static class |
Telephone.Factory |
Property.IdILLEGAL_PARAMETER_MESSAGE| Constructor and Description |
|---|
Telephone(Group group,
java.util.List<Parameter> params,
java.lang.String value)
Factory constructor.
|
Telephone(Group group,
java.net.URI uri,
Type... types) |
Telephone(java.util.List<Parameter> params,
java.lang.String value)
Factory constructor.
|
Telephone(java.lang.String value,
Type... types)
Provide backwards-compatibility for vCard 3.0.
|
Telephone(java.net.URI uri,
Type... types) |
| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
getUri() |
java.lang.String |
getValue() |
void |
validate() |
assertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getExtendedParameter, getExtendedParameters, getGroup, getId, getParameter, getParameters, getParameters, hashCode, toStringpublic Telephone(java.net.URI uri,
Type... types)
uri - specifies the URI of a telephone definitiontypes - optional parameter typespublic Telephone(Group group, java.net.URI uri, Type... types)
group - a property groupuri - specifies the URI of a telephone definitiontypes - optional parameter typespublic Telephone(java.lang.String value,
Type... types)
value - a non-URI valuetypes - optional parameter typespublic Telephone(java.util.List<Parameter> params, java.lang.String value) throws java.net.URISyntaxException
params - property parametersvalue - string representation of a property valuejava.net.URISyntaxException - where the specified value is not a valid URIpublic Telephone(Group group, java.util.List<Parameter> params, java.lang.String value) throws java.net.URISyntaxException
group - a property groupparams - property parametersvalue - string representation of a property valuejava.net.URISyntaxException - where the specified value is not a valid URI