EmailDoCoMoResultParser class
Implements the "MATMSG" email message entry format.
Supported keys: TO, SUB, BODY
@author Sean Owen
- Inheritance
-
- Object
- ResultParser
- AbstractDoCoMoResultParser
- EmailDoCoMoResultParser
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isBasicallyValidEmailAddress(
String? email) → bool -
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. This is an overly lenient definition of
validity. We want to generally be lenient here since this class is only intended to encapsulate what's
in a barcode, not "judge" it.
inherited
-
isStringOfDigits(
String? value, int length) → bool -
inherited
-
matchDoCoMoPrefixedField(
String prefix, String rawText) → List< String> ? -
inherited
-
matchPrefixedField(
String prefix, String rawText, String endChar, bool trim) → List< String> ? -
inherited
-
matchSingleDoCoMoPrefixedField(
String prefix, String rawText, bool trim) → String? -
inherited
-
matchSinglePrefixedField(
String prefix, String rawText, String endChar, bool trim) → String? -
inherited
-
maybeWrap(
String? value) → List< String> ? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
Result result) → EmailAddressParsedResult? -
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.
override
-
parseNameValuePairs(
String uri) → Map< String, String> ? -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unescapeBackslash(
String escaped) → String -
inherited
-
urlDecode(
String encoded) → String -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited