public interface VCardInterpreter
The interface which should be implemented by the classes which have to analyze each vCard entry minutely.
Here, there are several terms specific to vCard (and this library).
The term "entry" is one vCard representation in the input, which should start with "BEGIN:VCARD" and end with "END:VCARD".
The term "property" is one line in vCard entry, which consists of "group", "property name", "parameter(param) names and values", and "property values".
e.g. group1.propName;paramName1=paramValue1;paramName2=paramValue2;propertyValue1;propertyValue2...
Modifier and Type | Method and Description |
---|---|
void |
onEntryEnded()
Called when parsing one vCard entry ended.
|
void |
onEntryStarted()
Called when parsing one vCard entry started.
|
void |
onPropertyCreated(VCardProperty property)
Called when a property is created.
|
void |
onVCardEnded()
Called when vCard interpretation finished.
|
void |
onVCardStarted()
Called when vCard interpretation started.
|
void onVCardStarted()
void onVCardEnded()
void onEntryStarted()
onEntryEnded()
is called, as vCard 2.1 accepts nested
vCard.
BEGIN:VCARD
BEGIN:VCARD
VERSION:2.1
N:test;;;;
END:VCARD
END:VCARD
void onEntryEnded()
void onPropertyCreated(VCardProperty property)