public final class EmailDoCoMoResultParser extends AbstractDoCoMoResultParser
Modifier and Type | Field and Description |
---|---|
private static java.util.regex.Pattern |
ATEXT_ALPHANUMERIC |
EMPTY_STR_ARRAY
Constructor and Description |
---|
EmailDoCoMoResultParser() |
Modifier and Type | Method and Description |
---|---|
(package private) static boolean |
isBasicallyValidEmailAddress(java.lang.String email)
This implements only the most basic checking for an email address's validity -- that it contains
an '@' and contains no characters disallowed by RFC 2822.
|
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. |
matchDoCoMoPrefixedField, matchSingleDoCoMoPrefixedField
getMassagedText, isStringOfDigits, isSubstringOfDigits, matchPrefixedField, matchSinglePrefixedField, maybeAppend, maybeAppend, maybeWrap, parseHexDigit, parseNameValuePairs, parseResult, unescapeBackslash, urlDecode
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 resultstatic boolean isBasicallyValidEmailAddress(java.lang.String email)