Index

B C E F G H I K L O P R S T U V X Y 
All Classes and Interfaces|All Packages

B

BaseI18n - Enum Class in one.tranic.t.i18n.loader
 
BaseLoader - Class in one.tranic.t.i18n
A utility class for loading and managing internationalized translations through a language map.
BaseLoader(File, I18n) - Constructor for class one.tranic.t.i18n.BaseLoader
 
BaseLoader(Class<?>, String, Locale, I18n) - Constructor for class one.tranic.t.i18n.BaseLoader
 
BaseLoader(Class<?>, String, I18n) - Constructor for class one.tranic.t.i18n.BaseLoader
 
BaseLoader(String, I18n) - Constructor for class one.tranic.t.i18n.BaseLoader
 
BaseLoader(Path, I18n) - Constructor for class one.tranic.t.i18n.BaseLoader
 
BaseLoader(File, Path, Class<?>, String, Locale, I18n) - Constructor for class one.tranic.t.i18n.BaseLoader
 
BaseLoader.SimpleComponent - Record Class in one.tranic.t.i18n
 
BungeeLoader - Class in one.tranic.t.i18n
 
BungeeLoader(File, I18n) - Constructor for class one.tranic.t.i18n.BungeeLoader
 
BungeeLoader(Class<?>, String, Locale, I18n) - Constructor for class one.tranic.t.i18n.BungeeLoader
 
BungeeLoader(Class<?>, String, I18n) - Constructor for class one.tranic.t.i18n.BungeeLoader
 
BungeeLoader(String, I18n) - Constructor for class one.tranic.t.i18n.BungeeLoader
 
BungeeLoader(Path, I18n) - Constructor for class one.tranic.t.i18n.BungeeLoader
 
BungeeLoader(File, Path, Class<?>, String, Locale, I18n) - Constructor for class one.tranic.t.i18n.BungeeLoader
 

C

createMap() - Static method in class one.tranic.t.i18n.BaseLoader
 

E

equals(Object) - Method in record class one.tranic.t.i18n.BaseLoader.SimpleComponent
Indicates whether some other object is "equal to" this one.

F

flattenYaml(Map<String, Object>, String, Map<String, String>) - Static method in interface one.tranic.t.i18n.loader.I18n
 

G

getAlternativeFileExtension() - Method in class one.tranic.t.i18n.loader.ResourceLoader
 
getBasePath(String, Locale) - Static method in interface one.tranic.t.i18n.loader.I18n
 
getFileExtension() - Method in class one.tranic.t.i18n.loader.ResourceLoader
 
getFormatName() - Method in class one.tranic.t.i18n.loader.ResourceLoader
 
getLanguage() - Method in class one.tranic.t.i18n.BaseLoader
Retrieves the current language setting as a Locale object.
getLanguageMap() - Method in class one.tranic.t.i18n.BaseLoader
Return a copy of the language map
getResource(Class<?>, String) - Static method in interface one.tranic.t.i18n.loader.I18n
 
getResourceLoader() - Method in class one.tranic.t.i18n.loader.GsonLoader
 
getResourceLoader() - Method in interface one.tranic.t.i18n.loader.I18n
 
getResourceLoader() - Method in class one.tranic.t.i18n.loader.YmlLoader
 
GsonLoader - Class in one.tranic.t.i18n.loader
Example Json:
GsonLoader() - Constructor for class one.tranic.t.i18n.loader.GsonLoader
 

H

hashCode() - Method in class one.tranic.t.i18n.BaseLoader
 
hashCode() - Method in record class one.tranic.t.i18n.BaseLoader.SimpleComponent
Returns a hash code value for this object.

I

I18n - Interface in one.tranic.t.i18n.loader
 

K

keyword() - Method in record class one.tranic.t.i18n.BaseLoader.SimpleComponent
Returns the value of the keyword record component.
KyoriLoader - Class in one.tranic.t.i18n
 
KyoriLoader(File, I18n) - Constructor for class one.tranic.t.i18n.KyoriLoader
 
KyoriLoader(Class<?>, String, Locale, I18n) - Constructor for class one.tranic.t.i18n.KyoriLoader
 
KyoriLoader(Class<?>, String, I18n) - Constructor for class one.tranic.t.i18n.KyoriLoader
 
KyoriLoader(String, I18n) - Constructor for class one.tranic.t.i18n.KyoriLoader
 
KyoriLoader(Path, I18n) - Constructor for class one.tranic.t.i18n.KyoriLoader
 
KyoriLoader(File, Path, Class<?>, String, Locale, I18n) - Constructor for class one.tranic.t.i18n.KyoriLoader
 

L

load(File) - Method in interface one.tranic.t.i18n.loader.I18n
 
load(File) - Method in class one.tranic.t.i18n.loader.ResourceLoader
 
load(InputStream) - Method in interface one.tranic.t.i18n.loader.I18n
 
load(InputStream) - Method in class one.tranic.t.i18n.loader.ResourceLoader
 
load(Class<?>, String, Locale) - Method in interface one.tranic.t.i18n.loader.I18n
 
load(Class<?>, String, Locale) - Method in class one.tranic.t.i18n.loader.ResourceLoader
 
load(Path, Locale) - Method in interface one.tranic.t.i18n.loader.I18n
 
load(Path, Locale) - Method in class one.tranic.t.i18n.loader.ResourceLoader
 

O

one.tranic.t.i18n - package one.tranic.t.i18n
 
one.tranic.t.i18n.loader - package one.tranic.t.i18n.loader
 

P

parseInputStream(InputStream) - Method in class one.tranic.t.i18n.loader.ResourceLoader
 
PROPERTIES - Enum constant in enum class one.tranic.t.i18n.loader.BaseI18n
Example Properties:

R

reset() - Method in class one.tranic.t.i18n.BaseLoader
Resets the current state of the object to its default configuration using the predefined locale.
reset(Locale) - Method in class one.tranic.t.i18n.BaseLoader
Resets the current state of the language map and assigns a new locale for this instance.
ResourceLoader - Class in one.tranic.t.i18n.loader
 
ResourceLoader() - Constructor for class one.tranic.t.i18n.loader.ResourceLoader
 

S

setLanguage(Locale) - Method in class one.tranic.t.i18n.BaseLoader
Sets the language for localized operations.
SimpleComponent(String, Object) - Constructor for record class one.tranic.t.i18n.BaseLoader.SimpleComponent
Creates an instance of a SimpleComponent record class.

T

to(String) - Method in class one.tranic.t.i18n.BaseLoader
Translates the provided key into a localized string using the predefined language map.
to(String, Object...) - Method in class one.tranic.t.i18n.BaseLoader
Retrieves a formatted translation for the specified key using the provided arguments.
toBaseComponent(String) - Method in class one.tranic.t.i18n.BungeeLoader
Converts a localized string corresponding to the given key into an array of BaseComponent objects.
toBaseComponent(String, Object...) - Method in class one.tranic.t.i18n.BungeeLoader
Converts a translation key and its formatted arguments into an array of BaseComponent.
toBaseComponentBrace(String, Object...) - Method in class one.tranic.t.i18n.BungeeLoader
Converts a localized and formatted string with placeholders replaced by the provided arguments into an array of BaseComponent.
toBaseComponentBrace(String, BaseLoader.SimpleComponent...) - Method in class one.tranic.t.i18n.BungeeLoader
Converts the provided key and arguments into an array of BaseComponent objects using a legacy text format with braces.
toBrace(String, Object...) - Method in class one.tranic.t.i18n.BaseLoader
Replaces placeholders in the localized string corresponding to the provided key with the provided arguments.
toBrace(String, BaseLoader.SimpleComponent...) - Method in class one.tranic.t.i18n.BaseLoader
Replaces placeholders in a text template with corresponding values from the provided components.
toComponent(String) - Method in class one.tranic.t.i18n.KyoriLoader
Converts the provided translation key into an Adventure Component.
toComponent(String, Object...) - Method in class one.tranic.t.i18n.KyoriLoader
Converts the translation key and its formatted arguments into an Adventure Component.
toComponent(String, TagResolver...) - Method in class one.tranic.t.i18n.KyoriLoader
Converts the translation key into a Component using MiniMessage format.
toComponentBrace(String, Object...) - Method in class one.tranic.t.i18n.KyoriLoader
Converts the provided translation key and its formatted arguments into an Adventure Component.
toComponentBrace(String, BaseLoader.SimpleComponent...) - Method in class one.tranic.t.i18n.KyoriLoader
Converts the given key and arguments into a formatted text component using braces for placeholders.
toString() - Method in record class one.tranic.t.i18n.BaseLoader.SimpleComponent
Returns a string representation of this record class.
toString() - Method in class one.tranic.t.i18n.BaseLoader
 
toString() - Method in class one.tranic.t.i18n.BungeeLoader
 
toString() - Method in class one.tranic.t.i18n.KyoriLoader
 

U

update() - Method in class one.tranic.t.i18n.BaseLoader
Updates the internal language map with the default behavior.
update(InputStream) - Method in class one.tranic.t.i18n.BaseLoader
Updates the current language map using the data from the provided input stream.
update(Locale) - Method in class one.tranic.t.i18n.BaseLoader
Updates the internal language map based on the provided locale.

V

value() - Method in record class one.tranic.t.i18n.BaseLoader.SimpleComponent
Returns the value of the value record component.
valueOf(String) - Static method in enum class one.tranic.t.i18n.loader.BaseI18n
Returns the enum constant of this class with the specified name.
values() - Static method in enum class one.tranic.t.i18n.loader.BaseI18n
Returns an array containing the constants of this enum class, in the order they are declared.

X

XML - Enum constant in enum class one.tranic.t.i18n.loader.BaseI18n
Example xml:

Y

YmlLoader - Class in one.tranic.t.i18n.loader
Example Yaml:
YmlLoader() - Constructor for class one.tranic.t.i18n.loader.YmlLoader
 
B C E F G H I K L O P R S T U V X Y 
All Classes and Interfaces|All Packages