Class Locale
- All Implemented Interfaces:
Serializable,Cloneable,Map<Lang,Message>
Represents loaded language information.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LocaleforLangCode(LangCode code, PlanFiles files) static LocaleforLangCodeString(PlanFiles files, String code) static LocaleString[]String[]getArray(Lang key, Serializable... values) getNonDefault(Object key) getString(Lang key, Serializable... values) static StringgetStringNullSafe(Locale locale, Lang lang) inthashCode()voidloadFromAnotherLocale(Locale locale) Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
toString
-
Constructor Details
-
Locale
public Locale() -
Locale
-
-
Method Details
-
forLangCodeString
- Throws:
IOException
-
getStringNullSafe
-
forLangCode
- Throws:
IOException
-
fromFile
- Throws:
IOException
-
getLangCode
-
get
-
getNonDefault
-
getString
-
getString
-
getArray
-
getArray
-
loadFromAnotherLocale
-
equals
-
hashCode
public int hashCode()
-