com.google.zxing.client.result
Class ProductResultParser

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

public final class ProductResultParser
extends ResultParser

Parses strings of digits that represent a UPC code.

Author:
dswitkin@google.com (Daniel Switkin)

Constructor Summary
ProductResultParser()
           
 
Method Summary
 ProductParsedResult 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

ProductResultParser

public ProductResultParser()
Method Detail

parse

public ProductParsedResult 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