public class AddressType extends VCardParameter
Address
and Label
properties.
Supported versions: 2.1, 3.0, 4.0
Modifier and Type | Field and Description |
---|---|
static AddressType |
DOM |
static AddressType |
HOME |
static AddressType |
INTL |
static AddressType |
PARCEL |
static AddressType |
POSTAL |
static AddressType |
PREF |
static AddressType |
WORK |
value
Modifier and Type | Method and Description |
---|---|
static Collection<AddressType> |
all()
Gets all of the parameter values that are defined as static constants in
this class.
|
static AddressType |
find(String value)
Searches for a parameter value that is defined as a static constant in
this class.
|
static AddressType |
get(String value)
Searches for a parameter value and creates one if it cannot be found.
|
equals, getSupportedVersions, getValue, hashCode, isSupportedBy, toString
public static final AddressType HOME
public static final AddressType WORK
@SupportedVersions(value={V2_1,V3_0}) public static final AddressType DOM
@SupportedVersions(value={V2_1,V3_0}) public static final AddressType INTL
@SupportedVersions(value={V2_1,V3_0}) public static final AddressType POSTAL
@SupportedVersions(value={V2_1,V3_0}) public static final AddressType PARCEL
@SupportedVersions(value={V2_1,V3_0}) public static final AddressType PREF
public static AddressType find(String value)
value
- the parameter valuepublic static AddressType get(String value)
==
equality.value
- the parameter valuepublic static Collection<AddressType> all()
Copyright © 2012–2023 Michael Angstadt. All rights reserved.