public class LanguageManager extends java.lang.Object implements IResourceManagerReloadListener
Modifier and Type | Field and Description |
---|---|
protected static Locale |
CURRENT_LOCALE |
Constructor and Description |
---|
LanguageManager(MetadataSerializer theMetadataSerializerIn,
java.lang.String currentLanguageIn) |
Modifier and Type | Method and Description |
---|---|
Language |
getCurrentLanguage() |
java.util.SortedSet<Language> |
getLanguages() |
boolean |
isCurrentLanguageBidirectional() |
boolean |
isCurrentLocaleUnicode() |
void |
onResourceManagerReload(IResourceManager resourceManager) |
void |
parseLanguageMetadata(java.util.List<IResourcePack> resourcesPacks) |
void |
setCurrentLanguage(Language currentLanguageIn) |
protected static final Locale CURRENT_LOCALE
public LanguageManager(MetadataSerializer theMetadataSerializerIn, java.lang.String currentLanguageIn)
public void parseLanguageMetadata(java.util.List<IResourcePack> resourcesPacks)
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload
in interface IResourceManagerReloadListener
public boolean isCurrentLocaleUnicode()
public boolean isCurrentLanguageBidirectional()
public void setCurrentLanguage(Language currentLanguageIn)
public Language getCurrentLanguage()
public java.util.SortedSet<Language> getLanguages()