Build 1.0_r1(from source)

android.syncml.pim.vcard
Class VCardParser_V30

java.lang.Object
  extended by android.syncml.pim.VParser
      extended by android.syncml.pim.vcard.VCardParser_V21
          extended by android.syncml.pim.vcard.VCardParser_V30

public class VCardParser_V30
extends VCardParser_V21

This class is used to parse vcard3.0.
It get useful data refer from android contact, and alter to vCard 2.1 format. Then reuse vcard 2.1 parser to analyze the result.
Please refer to vCard Specification 3.0


Field Summary
 
Fields inherited from class android.syncml.pim.VParser
mBuffer, mBuilder, mDefaultEncoding, mEncoding, PARSE_ERROR
 
Constructor Summary
VCardParser_V30()
           
 
Method Summary
 boolean parse(InputStream is, String encoding, VBuilder builder)
          Parse the given stream
 
Methods inherited from class android.syncml.pim.vcard.VCardParser_V21
parseVCardFile, parseVFile
 
Methods inherited from class android.syncml.pim.VParser
getWord, isLetter, isLetterOrDigit, isPrintable, parse8bit, parseBase64, parseCharsetVal, parseCrlf, parseLangVal, parseOctet, parsePEncodingVal, parsePtext, parsePValueVal, parseQuotedPrintable, parseString, parseTag, parseValue, parseWord, parseWsls, parseXWord, removeWs, setInputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VCardParser_V30

public VCardParser_V30()
Method Detail

parse

public boolean parse(InputStream is,
                     String encoding,
                     VBuilder builder)
              throws IOException
Description copied from class: VParser
Parse the given stream

Overrides:
parse in class VParser
Parameters:
is - The source to parse.
encoding - The encoding type.
builder - The v builder which used to construct data.
Returns:
Return true for success, otherwise false.
Throws:
IOException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature