Package org.mozilla.geckoview
Class PageExtractionController.ContentParams
Object
org.mozilla.geckoview.PageExtractionController.ContentParams
- Enclosing class:
- PageExtractionController
Options for controlling how text is extracted from a page.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanWhen true, attempts to remove boilerplate content from the page using reader mode, falling back to full extraction if unavailable. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
removeBoilerplate
public final boolean removeBoilerplateWhen true, attempts to remove boilerplate content from the page using reader mode, falling back to full extraction if unavailable.
-
-
Constructor Details
-
ContentParams
public ContentParams(boolean removeBoilerplate) Construct a new ContentParams.- Parameters:
removeBoilerplate- whether to remove boilerplate using reader mode
-