Build 1.0_r1(from source)

android.syncml.pim.vcard
Class VCardComposer

java.lang.Object
  extended by android.syncml.pim.vcard.VCardComposer

public class VCardComposer
extends Object

Compose VCard string


Field Summary
static int VERSION_VCARD21_INT
           
static int VERSION_VCARD30_INT
           
 
Constructor Summary
VCardComposer()
           
 
Method Summary
 String createVCard(ContactStruct struct, int vcardversion)
          Create a vCard String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION_VCARD21_INT

public static final int VERSION_VCARD21_INT
See Also:
Constant Field Values

VERSION_VCARD30_INT

public static final int VERSION_VCARD30_INT
See Also:
Constant Field Values
Constructor Detail

VCardComposer

public VCardComposer()
Method Detail

createVCard

public String createVCard(ContactStruct struct,
                          int vcardversion)
                   throws VCardException
Create a vCard String.

Parameters:
struct - see more from ContactStruct class
vcardversion - MUST be VERSION_VCARD21 /VERSION_VCARD30
Returns:
vCard string
Throws:
VCardException - struct.name is null /vcardversion not match

Build 1.0_r1(from source)

Please submit a feedback, bug or feature