Extractor class abstract
Subclasses of this class implement different kinds of extractors. The most common kinds of extractors are:
-
HtmlExtractor. An extractor to select a html element, document or event a html string and then extract desire data by using CSS-Selector syntax.
-
HtmlIncludeExtractor. An extractor to select element from a html element, document or event a html string by using CSS-Selector syntax.
-
HtmlExcludeExtractor. An extractor to exclude element from a html element, document or event a html string by using CSS-Selector syntax.
-
HtmlAttributeEditor. An extractor to change HTML's tag attributes of a html element, document or event a html string by using CSS-Selector syntax.
-
HtmlRenameExtractor. An extractor to rename HTML's tag
-
HtmlDecoderExtractor. Decode HTML special characters.
-
NotNullExtractor. An extractor to check if an element is NULL.
-
RegexExtractor. An extractor to extract data using Regular Expression.
-
RegexReplaceExtractor. An extractor to replace a string using Regular Expression.
-
StringTrimExtractor. An extractor to trim a string.
-
StringRemoveEmptyExtractor. An extractor to remove all NULL and empty string.
-
StringSplitterExtractor. An extractor to split a string into a list.
-
StringFilterExtractor. An extractor to filter out unnecessary items.
-
SwitchCaseExtractor. An extractor to transform a value to others using switch-case expression.
-
DateTimeExtractor. An extractor to extract a date time string to DateTime.
-
EpochTimeExtractor. An extractor to convert date time to Unix epoch milliseconds.
- Implementers
- ArrayGetExtractor
- ArrayRemoveFirstExtractor
- DateTimeExtractor
- EpochTimeExtractor
- HtmlAttributeEditor
- HtmlContainsExtractor
- HtmlDecoderExtractor
- HtmlExcludeExtractor
- HtmlExtractor
- HtmlIncludeExtractor
- HtmlRenameExtractor
- HtmlSetAttributeEditor
- HtmlTextExtractor
- NotNullExtractor
- RegexExtractor
- RegexMatchExtractor
- RegexReplaceExtractor
- StringFilterExtractor
- StringRemoveEmptyExtractor
- StringSplitterExtractor
- StringTrimExtractor
- SwitchCaseExtractor
Constructors
- Extractor(String type)
-
Extractor.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
extract(
dynamic input) → List -
Process
input
and extract necessary data. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited