AbstractDoCoMoResultParser class abstract

DoCoMo's parser utils

See DoCoMo's documentation about the result types represented by subclasses of this class.

@author Sean Owen

Inheritance
Implementers

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.
isStringOfDigits(String? value, int length) bool
inherited
matchDoCoMoPrefixedField(String prefix, String rawText) List<String>?
matchPrefixedField(String prefix, String rawText, String endChar, bool trim) List<String>?
inherited
matchSingleDoCoMoPrefixedField(String prefix, String rawText, bool trim) String?
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) ParsedResult?
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.
inherited
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