Class Source.DefaultSource
java.lang.Object
us.codecraft.webmagic.model.sources.Source.DefaultSource
- All Implemented Interfaces:
Source
- Enclosing interface:
- Source
-
Nested Class Summary
Nested classes/interfaces inherited from interface us.codecraft.webmagic.model.sources.Source
Source.DefaultSource, Source.RawHtml, Source.RawText, Source.SelectedHtml, Source.Url
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetText
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) getTextList
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor)
-
Constructor Details
-
DefaultSource
public DefaultSource()
-
-
Method Details
-
getText
-
getTextList
public List<String> getTextList(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) - Specified by:
getTextList
in interfaceSource
-