Class Source.SelectedHtml
- java.lang.Object
-
- us.codecraft.webmagic.model.sources.Source.SelectedHtml
-
-
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
Constructors Constructor Description SelectedHtml()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getText(us.codecraft.webmagic.Page page, java.lang.String html, boolean isRaw, FieldExtractor fieldExtractor)
java.util.List<java.lang.String>
getTextList(us.codecraft.webmagic.Page page, java.lang.String html, boolean isRaw, FieldExtractor fieldExtractor)
-
-
-
Method Detail
-
getText
public java.lang.String getText(us.codecraft.webmagic.Page page, java.lang.String html, boolean isRaw, FieldExtractor fieldExtractor)
-
getTextList
public java.util.List<java.lang.String> getTextList(us.codecraft.webmagic.Page page, java.lang.String html, boolean isRaw, FieldExtractor fieldExtractor)
- Specified by:
getTextList
in interfaceSource
-
-