Package com.scaniatv
Class LangFileUpdater
java.lang.Object
com.scaniatv.LangFileUpdater
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetCustomLang(String langFile) Method that gets a custom lang file, and adds default ones if missing from the custom one.static String[]Method that gets a list of all lang files.static voidupdateCustomLang(String stringArray, String langFile, JSONStringer jso) Method that updates a custom lang file.
-
Method Details
-
getCustomLang
Method that gets a custom lang file, and adds default ones if missing from the custom one.- Parameters:
langFile-- Returns:
- Throws:
JSONException
-
updateCustomLang
public static void updateCustomLang(String stringArray, String langFile, JSONStringer jso) throws JSONException Method that updates a custom lang file.- Parameters:
stringArray-langFile-- Throws:
JSONException
-
getLangFiles
Method that gets a list of all lang files.- Returns:
-