|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectezvcard.parameter.VCardParameter
ezvcard.parameter.VersionedVCardParameter
ezvcard.parameter.AddressType
public class AddressType
Represents the TYPE parameter of the Address
and Label
properties.
Supported versions: 2.1, 3.0, 4.0
Field Summary | |
---|---|
static AddressType |
DOM
Supported versions: 2.1, 3.0 |
static AddressType |
HOME
Supported versions: 2.1, 3.0, 4.0 |
static AddressType |
INTL
Supported versions: 2.1, 3.0 |
static AddressType |
PARCEL
Supported versions: 2.1, 3.0 |
static AddressType |
POSTAL
Supported versions: 2.1, 3.0 |
static AddressType |
PREF
Supported versions: 2.1, 3.0 |
static AddressType |
WORK
Supported versions: 2.1, 3.0, 4.0 |
Fields inherited from class ezvcard.parameter.VersionedVCardParameter |
---|
supportedVersions |
Fields inherited from class ezvcard.parameter.VCardParameter |
---|
value |
Method Summary | |
---|---|
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. |
Methods inherited from class ezvcard.parameter.VersionedVCardParameter |
---|
isSupported |
Methods inherited from class ezvcard.parameter.VCardParameter |
---|
equals, getValue, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final AddressType HOME
2.1, 3.0, 4.0
public static final AddressType WORK
2.1, 3.0, 4.0
public static final AddressType DOM
2.1, 3.0
public static final AddressType INTL
2.1, 3.0
public static final AddressType POSTAL
2.1, 3.0
public static final AddressType PARCEL
2.1, 3.0
public static final AddressType PREF
2.1, 3.0
Method Detail |
---|
public static AddressType find(String value)
value
- the parameter value
public static AddressType get(String value)
==
equality.
value
- the parameter value
public static Collection<AddressType> all()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |