Index

A C D F G L R S 
All Classes and Interfaces|All Packages

A

addConfig(LanguageConfig<C>) - Method in class de.themoep.utils.lang.LanguageManagerCore
Add a new language config for a specific locale

C

config - Variable in class de.themoep.utils.lang.LanguageConfig
 
configFile - Variable in class de.themoep.utils.lang.LanguageConfig
 
contains(String) - Method in class de.themoep.utils.lang.LanguageConfig
Check if the config contains a certain key
contains(String, boolean) - Method in class de.themoep.utils.lang.LanguageConfig
Check if the config contains a certain key

D

de.themoep.utils.lang - package de.themoep.utils.lang
 
defaultConfig - Variable in class de.themoep.utils.lang.LanguageConfig
 

F

filePrefix - Variable in class de.themoep.utils.lang.LanguageManagerCore
 
fileSuffix - Variable in class de.themoep.utils.lang.LanguageManagerCore
 

G

get(String) - Method in class de.themoep.utils.lang.LanguageConfig
Get a string from the config by its key
get(String, String...) - Method in class de.themoep.utils.lang.LanguageConfig
Get a string from the config by its key
get(String, Map<String, String>) - Method in class de.themoep.utils.lang.LanguageConfig
Get a string from the config by its key
getConfig(String) - Method in class de.themoep.utils.lang.LanguageManagerCore
Get a language config for a specific locale
getConfig(S) - Method in class de.themoep.utils.lang.LanguageManagerCore
Get a language config for a sender object using the specified provider
getConfigs() - Method in class de.themoep.utils.lang.LanguageManagerCore
Get all defined language configs
getDefaultConfig() - Method in class de.themoep.utils.lang.LanguageManagerCore
Get the default language config
getDefaultLocale() - Method in class de.themoep.utils.lang.LanguageManagerCore
Get the default locale to use when no special one was specified or the one requested doesn't exist.
getFolder() - Method in class de.themoep.utils.lang.LanguageManagerCore
Get the folder that the language files are in
getLanguage(T) - Method in interface de.themoep.utils.lang.LanguageProvider
Get the language of a sender object
getLocale() - Method in class de.themoep.utils.lang.LanguageConfig
Get the locale that this language config is for
getPlaceholderPrefix() - Method in class de.themoep.utils.lang.LanguageManagerCore
Get the prefix of placeholders for replacements
getPlaceholderSuffix() - Method in class de.themoep.utils.lang.LanguageManagerCore
Get the suffix of placeholders for replacements
getProvider() - Method in class de.themoep.utils.lang.LanguageManagerCore
Get the specified language provider
getRawConfig() - Method in class de.themoep.utils.lang.LanguageConfig
Get the raw config object
getResourceFolder() - Method in class de.themoep.utils.lang.LanguageManagerCore
Get the path to the folder that contains the default language configs inside of the jar

L

LangLogger - Interface in de.themoep.utils.lang
 
LanguageConfig<C> - Class in de.themoep.utils.lang
 
LanguageConfig(String, File, String) - Constructor for class de.themoep.utils.lang.LanguageConfig
 
LanguageConfig(String, File, String, boolean) - Constructor for class de.themoep.utils.lang.LanguageConfig
 
LanguageManagerCore<S,C> - Class in de.themoep.utils.lang
The core language manager
LanguageManagerCore(String, String, File, LanguageProvider<S>, String, String, boolean, LanguageConfig<C>...) - Constructor for class de.themoep.utils.lang.LanguageManagerCore
 
LanguageProvider<T> - Interface in de.themoep.utils.lang
 
loadConfig() - Method in class de.themoep.utils.lang.LanguageConfig
Load the config from the file system
loadConfigs() - Method in class de.themoep.utils.lang.LanguageManagerCore
 
loadConfigs(Class<?>, LangLogger, Function<String, LanguageConfig<C>>) - Method in class de.themoep.utils.lang.LanguageManagerCore
 
log(Level, String) - Method in interface de.themoep.utils.lang.LangLogger
 
log(Level, String, Throwable) - Method in interface de.themoep.utils.lang.LangLogger
 

R

resourcePath - Variable in class de.themoep.utils.lang.LanguageConfig
 

S

saveConfigResource() - Method in class de.themoep.utils.lang.LanguageConfig
Save the default config resource from the jar file to the file system
saveFile - Variable in class de.themoep.utils.lang.LanguageConfig
 
saveFiles - Variable in class de.themoep.utils.lang.LanguageManagerCore
 
setDefaultLocale(String) - Method in class de.themoep.utils.lang.LanguageManagerCore
Set the default locale to use when no special one was specified or the one requested doesn't exist.
setDefaults(LanguageConfig<? extends C>) - Method in class de.themoep.utils.lang.LanguageConfig
Set the default config of this config
setPlaceholderPrefix(String) - Method in class de.themoep.utils.lang.LanguageManagerCore
Set the prefix of placeholders for replacements
setPlaceholderSuffix(String) - Method in class de.themoep.utils.lang.LanguageManagerCore
Set the suffix of placeholders for replacements
setProvider(LanguageProvider<S>) - Method in class de.themoep.utils.lang.LanguageManagerCore
Set the provider for the player's language
A C D F G L R S 
All Classes and Interfaces|All Packages