Class StationSearchEngine
- java.lang.Object
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.StationSearchEngine
-
public class StationSearchEngine extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.util.ArrayList<java.lang.String>
entries
boolean
includeInternational
-
Constructor Summary
Constructors Constructor Description StationSearchEngine(Context context)
StationSearchEngine(Context context, StationsManager stationsManager)
StationSearchEngine(Context context, java.util.concurrent.Executor executor, StationsManager stationsManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Location
getCentroidLocationFromArea(java.lang.String areaname)
void
newEntries(java.util.ArrayList<java.lang.String> newEntries)
void
setIncludeInternational(boolean b)
static java.lang.String
toInternationalUmlaut(java.lang.String s)
static java.util.ArrayList<java.lang.String>
toInternationalUmlaut(java.util.ArrayList<java.lang.String> s)
static java.lang.String
toUmlaut(java.lang.String s)
-
-
-
Constructor Detail
-
StationSearchEngine
public StationSearchEngine(Context context, java.util.concurrent.Executor executor, StationsManager stationsManager)
-
StationSearchEngine
public StationSearchEngine(Context context)
-
StationSearchEngine
public StationSearchEngine(Context context, StationsManager stationsManager)
-
-
Method Detail
-
setIncludeInternational
public void setIncludeInternational(boolean b)
-
toUmlaut
public static java.lang.String toUmlaut(java.lang.String s)
-
toInternationalUmlaut
public static java.lang.String toInternationalUmlaut(java.lang.String s)
-
toInternationalUmlaut
public static java.util.ArrayList<java.lang.String> toInternationalUmlaut(java.util.ArrayList<java.lang.String> s)
-
newEntries
public void newEntries(java.util.ArrayList<java.lang.String> newEntries)
-
getCentroidLocationFromArea
public Location getCentroidLocationFromArea(java.lang.String areaname)
-
-