a_vcard.android.syncml.pim.vcard
Class VCardParser
java.lang.Object
a_vcard.android.syncml.pim.vcard.VCardParser
public class VCardParser
- extends java.lang.Object
Method Summary |
boolean |
parse(java.lang.String vcardStr,
java.lang.String encoding,
VDataBuilder builder)
Parse the given vcard string |
boolean |
parse(java.lang.String vcardStr,
VDataBuilder builder)
Parse the given vcard string with US-ASCII encoding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION_VCARD21
public static final java.lang.String VERSION_VCARD21
- See Also:
- Constant Field Values
VERSION_VCARD30
public static final java.lang.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
VCardParser
public VCardParser()
parse
public boolean parse(java.lang.String vcardStr,
java.lang.String encoding,
VDataBuilder builder)
throws VCardException,
java.io.IOException
- Parse the given vcard string
- Parameters:
vcardStr
- to content to be parsedencoding
- encoding of vcardStrbuilder
- the data builder to hold data
- Returns:
- true if the string is successfully parsed, else return false
- Throws:
VCardException
java.io.IOException
parse
public boolean parse(java.lang.String vcardStr,
VDataBuilder builder)
throws VCardException,
java.io.IOException
- Parse the given vcard string with US-ASCII encoding
- Parameters:
vcardStr
- to content to be parsedbuilder
- the data builder to hold data
- Returns:
- true if the string is successfully parsed, else return false
- Throws:
VCardException
java.io.IOException