FileDocCategorySizeDatePackage
VCardParser_V40.javaAPI DocAndroid 5.1 API3032Thu Mar 12 22:22:54 GMT 2015com.android.vcard

VCardParser_V40

public class VCardParser_V40 extends VCardParser

vCard parser for vCard 4.0. DO NOT USE IN PRODUCTION.

Currently this parser is based on vCard 4.0 specification rev 15 (partly). Note that some of current implementation lack basic capability required in vCard 4.0. (e.g. PHOTO has data parameter in rev 15 while this implementation requires "ENCODING=b")

Fields Summary
static final Set
sKnownPropertyNameSet
static final Set
sAcceptableEncoding

A unmodifiable Set storing the values for the type "ENCODING", available in vCard 4.0.

private final VCardParserImpl_V40
mVCardParserImpl
Constructors Summary
public VCardParser_V40()


      
        mVCardParserImpl = new VCardParserImpl_V40();
    
public VCardParser_V40(int vcardType)

        mVCardParserImpl = new VCardParserImpl_V40(vcardType);
    
Methods Summary
public voidaddInterpreter(VCardInterpreter interpreter)

        mVCardParserImpl.addInterpreter(interpreter);
    
public voidcancel()

        mVCardParserImpl.cancel();
    
public voidparse(java.io.InputStream is)

        mVCardParserImpl.parse(is);
    
public voidparseOne(java.io.InputStream is)

        mVCardParserImpl.parseOne(is);