public final class LocaleManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getBookSearchCountryTLD(android.content.Context context)
The same as above, but specifically for Google Book Search.
|
static java.lang.String |
getCountryTLD(android.content.Context context) |
static java.lang.String |
getProductSearchCountryTLD(android.content.Context context)
The same as above, but specifically for Google Product Search.
|
static java.lang.String |
getTranslatedAssetLanguage() |
static boolean |
isBookSearchUrl(java.lang.String url)
Does a given URL point to Google Book Search, regardless of domain.
|
public static java.lang.String getCountryTLD(android.content.Context context)
public static java.lang.String getProductSearchCountryTLD(android.content.Context context)
public static java.lang.String getBookSearchCountryTLD(android.content.Context context)
public static boolean isBookSearchUrl(java.lang.String url)
url
- The address to check.public static java.lang.String getTranslatedAssetLanguage()