|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.zxing.client.android.LocaleManager
public final class LocaleManager
Handles any locale-specific logic for the client.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |