Package com.google.zxing.client.result
Class EmailAddressParsedResult
- java.lang.Object
-
- com.google.zxing.client.result.ParsedResult
-
- com.google.zxing.client.result.EmailAddressParsedResult
-
public final class EmailAddressParsedResult extends ParsedResult
Represents a parsed result that encodes an email message including recipients, subject and body text.
-
-
Constructor Summary
Constructors Constructor Description EmailAddressParsedResult(java.lang.String to)EmailAddressParsedResult(java.lang.String[] tos, java.lang.String[] ccs, java.lang.String[] bccs, java.lang.String subject, java.lang.String body)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String[]getBCCs()java.lang.StringgetBody()java.lang.String[]getCCs()java.lang.StringgetDisplayResult()java.lang.StringgetEmailAddress()Deprecated.usegetTos()java.lang.StringgetMailtoURI()Deprecated.without replacementjava.lang.StringgetSubject()java.lang.String[]getTos()-
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
-
-
-
-
Method Detail
-
getEmailAddress
@Deprecated public java.lang.String getEmailAddress()
Deprecated.usegetTos()- Returns:
- first elements of
getTos()ornullif none
-
getTos
public java.lang.String[] getTos()
-
getCCs
public java.lang.String[] getCCs()
-
getBCCs
public java.lang.String[] getBCCs()
-
getSubject
public java.lang.String getSubject()
-
getBody
public java.lang.String getBody()
-
getMailtoURI
@Deprecated public java.lang.String getMailtoURI()
Deprecated.without replacement- Returns:
- "mailto:"
-
getDisplayResult
public java.lang.String getDisplayResult()
- Specified by:
getDisplayResultin classParsedResult
-
-