com.google.zxing.client.result
Class AddressBookDoCoMoResultParser

java.lang.Object
  extended by com.google.zxing.client.result.ResultParser
      extended by com.google.zxing.client.result.AddressBookDoCoMoResultParser

public final class AddressBookDoCoMoResultParser
extends ResultParser

Implements the "MECARD" address book entry format. Supported keys: N, SOUND, TEL, EMAIL, NOTE, ADR, BDAY, URL, plus ORG Unsupported keys: TEL-AV, NICKNAME Except for TEL, multiple values for keys are also not supported; the first one found takes precedence. Our understanding of the MECARD format is based on this document: http://www.mobicode.org.tw/files/OMIA%20Mobile%20Bar%20Code%20Standard%20v3.2.1.doc

Author:
Sean Owen

Constructor Summary
AddressBookDoCoMoResultParser()
           
 
Method Summary
 AddressBookParsedResult parse(Result result)
          Attempts to parse the raw Result's contents as a particular type of information (email, URL, etc.) and return a ParsedResult encapsulating the result of parsing.
 
Methods inherited from class com.google.zxing.client.result.ResultParser
isStringOfDigits, isSubstringOfAlphaNumeric, isSubstringOfDigits, maybeAppend, maybeAppend, maybeWrap, parseHexDigit, parseResult, unescapeBackslash
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressBookDoCoMoResultParser

public AddressBookDoCoMoResultParser()
Method Detail

parse

public AddressBookParsedResult parse(Result result)
Description copied from class: ResultParser
Attempts to parse the raw Result's contents as a particular type of information (email, URL, etc.) and return a ParsedResult encapsulating the result of parsing.

Specified by:
parse in class ResultParser