public final class SMTPResultParser extends ResultParser
Parses an "smtp:" URI result, whose format is not standardized but appears to be like:
smtp[:subject[:body]]
.
Constructor and Description |
---|
SMTPResultParser() |
Modifier and Type | Method and Description |
---|---|
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. |
getMassagedText, isStringOfDigits, isSubstringOfDigits, maybeAppend, maybeAppend, maybeWrap, parseHexDigit, parseResult, unescapeBackslash
public EmailAddressParsedResult parse(Result result)
ResultParser
Result
's contents as a particular type
of information (email, URL, etc.) and return a ParsedResult
encapsulating
the result of parsing.parse
in class ResultParser
result
- the raw Result
to parseParsedResult
encapsulating the parsing resultCopyright © 2007–2024. All rights reserved.