Package org.javlo.component.dynamic
Class Fetcher.JsonFetcher
- java.lang.Object
-
- org.javlo.component.dynamic.Fetcher<com.google.gson.JsonElement>
-
- org.javlo.component.dynamic.Fetcher.JsonFetcher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.javlo.component.dynamic.Fetcher
Fetcher.FetchField, Fetcher.HtmlFetcher, Fetcher.JsonFetcher
-
-
Field Summary
-
Fields inherited from class org.javlo.component.dynamic.Fetcher
fields, listSelector, sourceUrl
-
-
Constructor Summary
Constructors Constructor Description JsonFetcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getValue(com.google.gson.JsonElement item, Fetcher.FetchField field)
protected Iterator<com.google.gson.JsonElement>
parseItems(String content)
-
Methods inherited from class org.javlo.component.dynamic.Fetcher
fetch, getFields, getListSelector, getSourceUrl, main, parseItem, setFields, setListSelector, setSourceUrl
-
-
-
-
Method Detail
-
parseItems
protected Iterator<com.google.gson.JsonElement> parseItems(String content)
- Specified by:
parseItems
in classFetcher<com.google.gson.JsonElement>
-
getValue
protected String getValue(com.google.gson.JsonElement item, Fetcher.FetchField field)
-
-