Package | Description |
---|---|
ezvcard | |
ezvcard.io |
Contains I/O related classes.
|
ezvcard.io.chain |
Contains classes used in the chaining API.
|
ezvcard.io.html |
Contains classes that can read/write hCards (HTML-encoded vCards).
|
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.text |
Contains classes that can read/write traditional, plain-text vCards.
|
ezvcard.io.xml |
Contains classes that can read/write xCards (XML-encoded vCards).
|
ezvcard.property |
Contains the DTO class for each property.
|
Modifier and Type | Method and Description |
---|---|
static ChainingTextWriter |
Ezvcard.write(VCard... vcards)
Marshals one or more vCards to their traditional, plain-text
representation.
|
static ChainingHtmlWriter |
Ezvcard.writeHtml(VCard... vcards)
Marshals one or more vCards their HTML representation (hCard).
|
static ChainingJsonWriter |
Ezvcard.writeJson(VCard... vcards)
Marshals one or more vCards to their JSON representation (jCard).
|
static ChainingXmlWriter |
Ezvcard.writeXml(VCard... vcards)
Marshals one or more vCards to their XML representation (xCard).
|
Modifier and Type | Method and Description |
---|---|
static ChainingTextWriter |
Ezvcard.write(Collection<VCard> vcards)
Marshals one or more vCards to their traditional, plain-text
representation.
|
static ChainingHtmlWriter |
Ezvcard.writeHtml(Collection<VCard> vcards)
Marshals one or more vCards their HTML representation (hCard).
|
static ChainingJsonWriter |
Ezvcard.writeJson(Collection<VCard> vcards)
Marshals one or more vCards to their JSON representation (jCard).
|
static ChainingXmlWriter |
Ezvcard.writeXml(Collection<VCard> vcards)
Marshals one or more vCards to their XML representation (xCard).
|
Constructor and Description |
---|
VCard(VCard original)
Creates a deep copy of the given vCard.
|
Modifier and Type | Method and Description |
---|---|
protected abstract VCard |
StreamReader._readNext()
Reads the next vCard from the data stream.
|
VCard |
EmbeddedVCardException.getVCard()
Gets the vCard to marshal.
|
VCard |
StreamReader.readNext()
Reads the next vCard from the data stream.
|
Modifier and Type | Method and Description |
---|---|
List<VCard> |
StreamReader.readAll()
Reads all vCards from the data stream.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
StreamWriter._write(VCard vcard,
List<VCardProperty> properties)
Writes a vCard to the stream.
|
protected void |
StreamReader.assignLabels(VCard vcard,
List<Label> labels)
|
void |
EmbeddedVCardException.injectVCard(VCard vcard)
Injects the unmarshalled vCard into the property object that threw this
exception.
|
void |
EmbeddedVCardException.InjectionCallback.injectVCard(VCard vcard)
Injects an unmarshalled vCard into the property object.
|
void |
StreamWriter.write(VCard vcard)
Writes a vCard to the stream.
|
Constructor and Description |
---|
EmbeddedVCardException(VCard vcard)
Thrown to marshal a nested or embedded vCard.
|
Modifier and Type | Method and Description |
---|---|
VCard |
ChainingXmlMemoryParser.first() |
VCard |
ChainingTextStringParser.first() |
VCard |
ChainingJsonStringParser.first() |
VCard |
ChainingHtmlStringParser.first() |
Modifier and Type | Method and Description |
---|---|
List<VCard> |
ChainingXmlMemoryParser.all() |
List<VCard> |
ChainingTextStringParser.all() |
List<VCard> |
ChainingJsonStringParser.all() |
List<VCard> |
ChainingHtmlStringParser.all() |
Constructor and Description |
---|
ChainingHtmlWriter(Collection<VCard> vcards) |
ChainingJsonWriter(Collection<VCard> vcards) |
ChainingTextWriter(Collection<VCard> vcards) |
ChainingXmlWriter(Collection<VCard> vcards) |
Modifier and Type | Method and Description |
---|---|
protected VCard |
HCardParser._readNext() |
VCard |
HCardParser.readNext() |
Modifier and Type | Method and Description |
---|---|
void |
HCardPage.add(VCard vcard)
Adds a vCard to the HTML page.
|
Modifier and Type | Method and Description |
---|---|
protected VCard |
JCardReader._readNext() |
VCard |
JCardDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser parser,
DeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
JCardWriter._write(VCard vcard,
List<VCardProperty> properties)
Writes a vCard to the stream.
|
void |
JCardSerializer.serialize(VCard value,
com.fasterxml.jackson.core.JsonGenerator gen,
SerializerProvider serializers) |
Modifier and Type | Method and Description |
---|---|
protected void |
AddressScribe._prepareParameters(Address property,
VCardParameters copy,
VCardVersion version,
VCard vcard) |
protected void |
EmailScribe._prepareParameters(Email property,
VCardParameters copy,
VCardVersion version,
VCard vcard) |
protected void |
ImppScribe._prepareParameters(Impp property,
VCardParameters copy,
VCardVersion version,
VCard vcard) |
protected void |
KeyScribe._prepareParameters(Key property,
VCardParameters copy,
VCardVersion version,
VCard vcard) |
protected void |
TelephoneScribe._prepareParameters(Telephone property,
VCardParameters copy,
VCardVersion version,
VCard vcard) |
protected void |
VCardPropertyScribe._prepareParameters(T property,
VCardParameters copy,
VCardVersion version,
VCard vcard)
Sanitizes a property's parameters before the property is written.
|
protected void |
BinaryPropertyScribe._prepareParameters(T property,
VCardParameters copy,
VCardVersion version,
VCard vcard) |
protected static void |
VCardPropertyScribe.handlePrefParam(VCardProperty property,
VCardParameters parameters,
VCardVersion version,
VCard vcard)
A utility method for switching between the "PREF" and "TYPE=PREF"
parameters when marshalling a property (version 4.0 vCards use "PREF=1",
while version 3.0 vCards use "TYPE=PREF").
|
VCardParameters |
VCardPropertyScribe.prepareParameters(T property,
VCardVersion version,
VCard vcard)
Sanitizes a property's parameters (called before the property is
written).
|
Modifier and Type | Method and Description |
---|---|
protected VCard |
VCardReader._readNext() |
Modifier and Type | Method and Description |
---|---|
protected void |
VCardWriter._write(VCard vcard,
List<VCardProperty> propertiesToAdd) |
Modifier and Type | Method and Description |
---|---|
protected VCard |
XCardReader._readNext() |
Modifier and Type | Method and Description |
---|---|
List<VCard> |
XCardDocument.getVCards()
Parses all of the vCards from this XML document.
|
Modifier and Type | Method and Description |
---|---|
protected void |
XCardWriter._write(VCard vcard,
List<VCardProperty> properties) |
protected void |
XCardDocument.XCardDocumentStreamWriter._write(VCard vcard,
List<VCardProperty> properties) |
void |
XCardDocument.addVCard(VCard vcard)
Adds a vCard to the XML document.
|
void |
XCardDocument.XCardDocumentStreamWriter.write(VCard vcard) |
Modifier and Type | Method and Description |
---|---|
VCard |
Agent.getVCard()
Gets an embedded vCard with the agent's information.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Xml._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
VCardProperty._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard)
Checks the property for data consistency problems or deviations from the
spec.
|
protected void |
Timezone._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Telephone._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
StructuredName._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
SimpleProperty._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Related._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
RawProperty._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Profile._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
PlaceProperty._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Member._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
ListProperty._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Key._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Impp._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Geo._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Gender._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Email._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
DateOrTimeProperty._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
ClientPidMap._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
BinaryProperty._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Agent._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Address._validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard) |
void |
Agent.setVCard(VCard vcard)
Sets an embedded vCard with the agent's information.
|
List<ValidationWarning> |
VCardProperty.validate(VCardVersion version,
VCard vcard)
Checks the property for data consistency problems or deviations from the
spec.
|
Constructor and Description |
---|
Agent(VCard vcard)
Creates an agent property.
|
Copyright © 2012–2023 Michael Angstadt. All rights reserved.