FileDocCategorySizeDatePackage
VCardInterpreter.javaAPI DocAndroid 5.1 API2261Thu Mar 12 22:22:54 GMT 2015com.android.vcard

VCardInterpreter

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...

Fields Summary
Constructors Summary
Methods Summary
public voidonEntryEnded()
Called when parsing one vCard entry ended. More specifically, this method is called when "END:VCARD" is read.

public voidonEntryStarted()
Called when parsing one vCard entry started. More specifically, this method is called when "BEGIN:VCARD" is read. This may be called before {@link #onEntryEnded()} is called, as vCard 2.1 accepts nested vCard. BEGIN:VCARD BEGIN:VCARD VERSION:2.1 N:test;;;; END:VCARD END:VCARD

public voidonPropertyCreated(VCardProperty property)
Called when a property is created.

public voidonVCardEnded()
Called when vCard interpretation finished.

public voidonVCardStarted()
Called when vCard interpretation started.