public class VCardEntryCounter extends Object implements VCardInterpreter
Constructor and Description |
---|
VCardEntryCounter() |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
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.
|
public int getCount()
public void onVCardStarted()
VCardInterpreter
onVCardStarted
in interface VCardInterpreter
public void onVCardEnded()
VCardInterpreter
onVCardEnded
in interface VCardInterpreter
public void onEntryStarted()
VCardInterpreter
VCardInterpreter.onEntryEnded()
is called, as vCard 2.1 accepts nested
vCard.
BEGIN:VCARD
BEGIN:VCARD
VERSION:2.1
N:test;;;;
END:VCARD
END:VCARD
onEntryStarted
in interface VCardInterpreter
public void onEntryEnded()
VCardInterpreter
onEntryEnded
in interface VCardInterpreter
public void onPropertyCreated(VCardProperty property)
VCardInterpreter
onPropertyCreated
in interface VCardInterpreter