Package | Description |
---|---|
ezvcard | |
ezvcard.io.chain |
Contains classes used in the chaining API.
|
ezvcard.io.json |
Contains classes that can read/write jCards (JSON-encoded vCards).
|
ezvcard.io.scribe |
Contains classes that know how to marshal and unmarshal a property in each vCard format.
|
ezvcard.io.xml |
Contains classes that can read/write xCards (XML-encoded vCards).
|
ezvcard.parameter |
Contains classes related to vCard parameters.
|
ezvcard.property |
Contains the DTO class for each property.
|
Modifier and Type | Field and Description |
---|---|
static VCardDataType |
VCardDataType.BINARY
A non-textual value, such as a picture or sound file.
|
static VCardDataType |
VCardDataType.BOOLEAN
A boolean value ("true" or "false").
|
static VCardDataType |
VCardDataType.CONTENT_ID
Refers to a MIME entity within an email.
|
static VCardDataType |
VCardDataType.DATE
A date that does not have a time component (for example, "2015-02-16").
|
static VCardDataType |
VCardDataType.DATE_AND_OR_TIME
Any sort of date/time combination.
|
static VCardDataType |
VCardDataType.DATE_TIME
A date with a time component (for example, "2015-02-16 08:34:00").
|
static VCardDataType |
VCardDataType.FLOAT
A floating-point value (for example, "3.14").
|
static VCardDataType |
VCardDataType.INTEGER
An integer value (for example, "42").
|
static VCardDataType |
VCardDataType.LANGUAGE_TAG
A standardized abbreviation for a language (for example, "en-us" for
American English).
|
static VCardDataType |
VCardDataType.TEXT
A plain text value.
|
static VCardDataType |
VCardDataType.TIME
A time that does not have a date component (for example, "08:34:00").
|
static VCardDataType |
VCardDataType.TIMESTAMP
A specific moment in time.
|
static VCardDataType |
VCardDataType.URI
A uniform resource identifier (for example,
"http://www.example.com/image.jpg").
|
static VCardDataType |
VCardDataType.URL
A uniform resource locator (for example,
"http://www.example.com/image.jpg").
|
static VCardDataType |
VCardDataType.UTC_OFFSET
An offset from UTC time, in hours and minutes (for example, "-0500").
|
Modifier and Type | Method and Description |
---|---|
static VCardDataType |
VCardDataType.find(String dataType)
Searches for a data type that is defined as a static constant in this
class.
|
static VCardDataType |
VCardDataType.get(String dataType)
Searches for a data type and creates one if it cannot be found.
|
Modifier and Type | Method and Description |
---|---|
static Collection<VCardDataType> |
VCardDataType.all()
Gets all of the data types that are defined as static constants in this
class.
|
Modifier and Type | Method and Description |
---|---|
RawProperty |
VCard.addExtendedProperty(String name,
String value,
VCardDataType dataType)
Adds an extended property.
|
RawProperty |
VCard.setExtendedProperty(String name,
String value,
VCardDataType dataType)
Replaces all existing extended properties with the given name with a
single property instance.
|
Modifier and Type | Method and Description |
---|---|
ChainingXmlWriter |
ChainingXmlWriter.register(String parameterName,
VCardDataType dataType)
Registers the data type of a non-standard parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
JCardRawReader.JCardDataStreamListener.readProperty(String group,
String propertyName,
VCardParameters parameters,
VCardDataType dataType,
JCardValue value)
Called when a property is read.
|
void |
JCardRawWriter.writeProperty(String group,
String propertyName,
VCardParameters parameters,
VCardDataType dataType,
JCardValue value)
Writes a property to the current vCard.
|
void |
JCardRawWriter.writeProperty(String propertyName,
VCardDataType dataType,
JCardValue value)
Writes a property to the current component.
|
Modifier and Type | Field and Description |
---|---|
protected VCardDataType |
SimplePropertyScribe.dataType |
Modifier and Type | Method and Description |
---|---|
protected VCardDataType |
AgentScribe._dataType(Agent property,
VCardVersion version) |
protected VCardDataType |
KeyScribe._dataType(Key property,
VCardVersion version) |
protected VCardDataType |
RawPropertyScribe._dataType(RawProperty property,
VCardVersion version) |
protected VCardDataType |
RelatedScribe._dataType(Related property,
VCardVersion version) |
protected VCardDataType |
TelephoneScribe._dataType(Telephone property,
VCardVersion version) |
protected VCardDataType |
TimezoneScribe._dataType(Timezone property,
VCardVersion version) |
protected VCardDataType |
VCardPropertyScribe._dataType(T property,
VCardVersion version)
Determines the data type of a property instance.
|
protected VCardDataType |
PlacePropertyScribe._dataType(T property,
VCardVersion version) |
protected VCardDataType |
DateOrTimePropertyScribe._dataType(T property,
VCardVersion version) |
protected VCardDataType |
BinaryPropertyScribe._dataType(T property,
VCardVersion version) |
protected VCardDataType |
XmlScribe._defaultDataType(VCardVersion version) |
protected abstract VCardDataType |
VCardPropertyScribe._defaultDataType(VCardVersion version)
Determines the property's default data type.
|
protected VCardDataType |
TimezoneScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
TelephoneScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
StructuredNameScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
SimplePropertyScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
RevisionScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
RelatedScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
RawPropertyScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
PlacePropertyScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
OrganizationScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
ListPropertyScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
ImppScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
GeoScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
GenderScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
DateOrTimePropertyScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
ClientPidMapScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
BinaryPropertyScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
AgentScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
AddressScribe._defaultDataType(VCardVersion version) |
VCardDataType |
VCardPropertyScribe.dataType(T property,
VCardVersion version)
Determines the data type of a property instance.
|
VCardDataType |
VCardPropertyScribe.defaultDataType(VCardVersion version)
Determines the property's default data type.
|
Modifier and Type | Method and Description |
---|---|
protected Xml |
XmlScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected T |
VCardPropertyScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context)
Unmarshals a property from a JSON data stream (jCard).
|
protected Timezone |
TimezoneScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Telephone |
TelephoneScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected StructuredName |
StructuredNameScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected T |
SimplePropertyScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Revision |
RevisionScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Related |
RelatedScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected RawProperty |
RawPropertyScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected T |
PlacePropertyScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Organization |
OrganizationScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected T |
ListPropertyScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Key |
KeyScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Impp |
ImppScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Geo |
GeoScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Gender |
GenderScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected T |
DateOrTimePropertyScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected ClientPidMap |
ClientPidMapScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected T |
BinaryPropertyScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Address |
AddressScribe._parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Xml |
XmlScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected abstract T |
VCardPropertyScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context)
Unmarshals a property from a plain-text vCard.
|
protected Timezone |
TimezoneScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Telephone |
TelephoneScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected StructuredName |
StructuredNameScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected T |
SimplePropertyScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Revision |
RevisionScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Related |
RelatedScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected RawProperty |
RawPropertyScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected T |
PlacePropertyScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Organization |
OrganizationScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected T |
ListPropertyScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Key |
KeyScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Impp |
ImppScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Geo |
GeoScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Gender |
GenderScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected T |
DateOrTimePropertyScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected ClientPidMap |
ClientPidMapScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected T |
BinaryPropertyScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Agent |
AgentScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected Address |
AddressScribe._parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context) |
protected static CannotParseException |
VCardPropertyScribe.missingXmlElements(VCardDataType... dataTypes)
Creates a
CannotParseException to indicate that a scribe could
not find the necessary XML elements required in order to successfully
parse a property (xCards only). |
protected T |
BinaryPropertyScribe.parse(String value,
VCardDataType dataType,
VCardParameters parameters,
VCardVersion version)
Parses the property.
|
T |
VCardPropertyScribe.parseJson(JCardValue value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context)
Unmarshals a property's value from a JSON data stream (jCard).
|
T |
VCardPropertyScribe.parseText(String value,
VCardDataType dataType,
VCardParameters parameters,
ParseContext context)
Unmarshals a property from a plain-text vCard.
|
Constructor and Description |
---|
SimplePropertyScribe(Class<T> clazz,
String propertyName,
VCardDataType dataType) |
StringPropertyScribe(Class<T> clazz,
String propertyName,
VCardDataType dataType) |
Modifier and Type | Method and Description |
---|---|
VCardDataType |
XCardElement.XCardValue.getDataType()
Gets the data type
|
Modifier and Type | Method and Description |
---|---|
List<String> |
XCardElement.all(VCardDataType dataType)
Gets all the values of a given data type.
|
Element |
XCardElement.append(VCardDataType dataType,
String value)
Adds a value.
|
String |
XCardElement.first(VCardDataType... dataTypes)
Gets the first value with one of the given data types.
|
Constructor and Description |
---|
XCardValue(VCardDataType dataType,
String value) |
Modifier and Type | Method and Description |
---|---|
VCardDataType |
VCardParameters.getValue()
Gets the VALUE parameter value.
|
Modifier and Type | Method and Description |
---|---|
void |
VCardParameters.setValue(VCardDataType dataType)
Sets the VALUE parameter value.
|
Modifier and Type | Method and Description |
---|---|
VCardDataType |
RawProperty.getDataType()
Gets the data type of the property's value.
|
Modifier and Type | Method and Description |
---|---|
void |
RawProperty.setDataType(VCardDataType dataType)
Sets the data type of the property's value.
|
Constructor and Description |
---|
RawProperty(String propertyName,
String value,
VCardDataType dataType)
Creates a raw property.
|
Copyright © 2012–2023 Michael Angstadt. All rights reserved.