Build 1.0_r1(from source)

android.syncml.pim.vcard
Class VCardParser

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

public class VCardParser
extends Object


Field Summary
(package private)  VParser mParser
           
(package private)  String mVersion
           
static String VERSION_VCARD21
           
static int VERSION_VCARD21_INT
           
static String VERSION_VCARD30
           
static int VERSION_VCARD30_INT
           
 
Constructor Summary
VCardParser()
           
 
Method Summary
 boolean parse(String vcardStr, VDataBuilder builder)
          Parse the given vcard string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mParser

VParser mParser

VERSION_VCARD21

public static final String VERSION_VCARD21
See Also:
Constant Field Values

VERSION_VCARD30

public static final String VERSION_VCARD30
See Also:
Constant Field Values

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

mVersion

String mVersion
Constructor Detail

VCardParser

public VCardParser()
Method Detail

parse

public boolean parse(String vcardStr,
                     VDataBuilder builder)
              throws VCardException,
                     IOException
Parse the given vcard string

Parameters:
vcardStr - to content to be parsed
builder - the data builder to hold data
Returns:
true if the string is successfully parsed, else return false
Throws:
VCardException
IOException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature