Class APIReaders.PollenReader
java.lang.Object
de.kaffeemitkoffein.tinyweatherforecastgermany.APIReaders.PollenReader
- All Implemented Interfaces:
Runnable
- Enclosing class:
APIReaders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int[]getPollenDataFromJson(JSONObject pollenObject, int type) static InputStreamgetPollenStream(boolean ssl) voidonFinished(boolean success) voidonStart()longparsePollenDateToMillis(String source) booleanvoidrun()
-
Constructor Details
-
PollenReader
public PollenReader(Context context)
-
-
Method Details
-
getPollenStream
-
readPollenDataRawString
-
parsePollenDateToMillis
-
getPollenDataFromJson
public static int[] getPollenDataFromJson(JSONObject pollenObject, int type) -
readPollenData
public boolean readPollenData() -
onStart
public void onStart() -
onFinished
public void onFinished(boolean success) -
run
public void run()
-