|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectezvcard.VCardDataType
public class VCardDataType
Defines the data type of a property's value.
Field Summary | |
---|---|
static VCardDataType |
BINARY
Supported versions: 3.0 |
static VCardDataType |
BOOLEAN
Supported versions: 4.0 |
static VCardDataType |
CONTENT_ID
Supported versions: 2.1 (p.8-9) |
static VCardDataType |
DATE
Supported versions: 3.0, 4.0 |
static VCardDataType |
DATE_AND_OR_TIME
Supported versions: 4.0 |
static VCardDataType |
DATE_TIME
Supported versions: 3.0, 4.0 |
static VCardDataType |
FLOAT
Supported versions: 4.0 |
static VCardDataType |
INTEGER
Supported versions: 4.0 |
static VCardDataType |
LANGUAGE_TAG
Supported versions: 4.0 |
static VCardDataType |
TEXT
Supported versions: 2.1, 3.0, 4.0 |
static VCardDataType |
TIME
Supported versions: 3.0, 4.0 |
static VCardDataType |
TIMESTAMP
Supported versions: 4.0 |
static VCardDataType |
URI
Supported versions: 3.0, 4.0 |
static VCardDataType |
URL
Supported versions: 2.1 (p.18-9) |
static VCardDataType |
UTC_OFFSET
Supported versions: 4.0 |
Method Summary | |
---|---|
static Collection<VCardDataType> |
all()
Gets all of the data types that are defined as static constants in this class. |
static VCardDataType |
find(String dataType)
Searches for a data type that is defined as a static constant in this class. |
static VCardDataType |
get(String dataType)
Searches for a data type and creates one if it cannot be found. |
String |
getName()
Gets the name of the data type. |
boolean |
isSupported(VCardVersion version)
Determines if the data type is supported by the given vCard version. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final VCardDataType URL
2.1 (p.18-9)
public static final VCardDataType CONTENT_ID
2.1 (p.8-9)
public static final VCardDataType BINARY
3.0
public static final VCardDataType URI
3.0, 4.0
public static final VCardDataType TEXT
2.1, 3.0, 4.0
public static final VCardDataType DATE
3.0, 4.0
public static final VCardDataType TIME
3.0, 4.0
public static final VCardDataType DATE_TIME
3.0, 4.0
public static final VCardDataType DATE_AND_OR_TIME
4.0
public static final VCardDataType TIMESTAMP
4.0
public static final VCardDataType BOOLEAN
4.0
public static final VCardDataType INTEGER
4.0
public static final VCardDataType FLOAT
4.0
public static final VCardDataType UTC_OFFSET
4.0
public static final VCardDataType LANGUAGE_TAG
4.0
Method Detail |
---|
public String getName()
public boolean isSupported(VCardVersion version)
version
- the vCard version
public String toString()
toString
in class Object
public static VCardDataType find(String dataType)
dataType
- the data type name (e.g. "text")
public static VCardDataType get(String dataType)
==
equality.
dataType
- data type name (e.g. "text")
public static Collection<VCardDataType> all()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |