com.google.zxing.client.result
Class SMTPResultParser

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

public final class SMTPResultParser
extends ResultParser

Parses an "smtp:" URI result, whose format is not standardized but appears to be like: smtp(:subject(:body)).

See http://code.google.com/p/zxing/issues/detail?id=536

Author:
Sean Owen

Constructor Summary
SMTPResultParser()
           
 
Method Summary
 EmailAddressParsedResult 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

SMTPResultParser

public SMTPResultParser()
Method Detail

parse

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