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