Back to Zxing

Class BizcardResultParser

docs/apidocs/com/google/zxing/client/result/BizcardResultParser.html

latest2.6 KB
Original Source

Package com.google.zxing.client.result

Class BizcardResultParser

java.lang.Object com.google.zxing.client.result.ResultParser com.google.zxing.client.result.BizcardResultParser


public final class BizcardResultParserextends ResultParser

Implements the "BIZCARD" address book entry format, though this has been largely reverse-engineered from examples observed in the wild -- still looking for a definitive reference. Author:Sean Owen

Constructor Summary

Constructors

Constructor

Description

BizcardResultParser()

Method Summary

All MethodsInstance MethodsConcrete Methods

Modifier and Type

Method

Description

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

getMassagedText, isStringOfDigits, 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 Details

BizcardResultParser

public BizcardResultParser()

Method Details

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 ResultParserParameters:result - the raw Result to parseReturns:ParsedResult encapsulating the parsing result