Package com.prineside.tdi2.utils
Class I18NBundle
java.lang.Object
com.prineside.tdi2.utils.I18NBundle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic I18NBundle
createBundle
(com.badlogic.gdx.files.FileHandle baseFileHandle) static I18NBundle
createBundle
(com.badlogic.gdx.files.FileHandle baseFileHandle, Locale locale) void
static boolean
protected void
void
registerCustom
(String key, String value) static void
setSimpleFormatter
(boolean enabled)
-
Constructor Details
-
I18NBundle
public I18NBundle()
-
-
Method Details
-
registerCustom
-
getSimpleFormatter
public static boolean getSimpleFormatter() -
setSimpleFormatter
public static void setSimpleFormatter(boolean enabled) -
createBundle
-
createBundle
public static I18NBundle createBundle(com.badlogic.gdx.files.FileHandle baseFileHandle, Locale locale) -
load
- Throws:
IOException
-
getLocale
-
get
-
formatStr
-
format
-
debug
-