Class APIReaders.PollenReader
- java.lang.Object
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.APIReaders.PollenReader
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- APIReaders
public static class APIReaders.PollenReader extends java.lang.Object implements java.lang.Runnable
-
-
Constructor Summary
Constructors Constructor Description PollenReader(Context context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int[]
getPollenDataFromJson(JSONObject pollenObject, int type)
static java.io.InputStream
getPollenStream(boolean ssl)
void
onFinished(boolean success)
void
onStart()
long
parsePollenDateToMillis(java.lang.String source)
boolean
readPollenData()
java.lang.String
readPollenDataRawString()
void
run()
-
-
-
Method Detail
-
getPollenStream
public static java.io.InputStream getPollenStream(boolean ssl)
-
readPollenDataRawString
public java.lang.String readPollenDataRawString()
-
parsePollenDateToMillis
public long parsePollenDateToMillis(java.lang.String source)
-
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()
- Specified by:
run
in interfacejava.lang.Runnable
-
-