Index

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

C

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

E

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

G

getLanguage() - Method in class one.tranic.t.i18n.I18nLoader
Retrieves the current language setting as a Locale object.
getLanguageMap() - Method in class one.tranic.t.i18n.I18nLoader
Return a copy of the language map
GSON - Enum constant in enum class one.tranic.t.i18n.I18n
Example Json:

H

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

I

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

K

keyword() - Method in record class one.tranic.t.i18n.I18nLoader.SimpleComponent
Returns the value of the keyword record component.

O

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

P

PROPERTIES - Enum constant in enum class one.tranic.t.i18n.I18n
Example Properties:

R

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

S

setLanguage(Locale) - Method in class one.tranic.t.i18n.I18nLoader
Sets the language for localized operations.
SimpleComponent(String, Object) - Constructor for record class one.tranic.t.i18n.I18nLoader.SimpleComponent
Creates an instance of a SimpleComponent record class.
SnakeYAML - Enum constant in enum class one.tranic.t.i18n.I18n
Example Yaml:

T

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

U

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

V

value() - Method in record class one.tranic.t.i18n.I18nLoader.SimpleComponent
Returns the value of the value record component.
valueOf(String) - Static method in enum class one.tranic.t.i18n.I18n
Returns the enum constant of this class with the specified name.
values() - Static method in enum class one.tranic.t.i18n.I18n
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.I18n
Example xml:
C E G H I K O P R S T U V X 
All Classes and Interfaces|All Packages