Interface TranslationLoader
-
- All Known Implementing Classes:
AbstractTranslationLoader
public interface TranslationLoader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull LocalegetDefaultLocale()@NotNull PathgetDirectory()@NotNull StringgetFileExtension()@NotNull @Unmodifiable Set<Locale>getLoadedLocales()@NotNull net.kyori.adventure.key.KeygetRegistryKey()voidload()voidreload()
-
-
-
Method Detail
-
load
void load() throws IOException
- Throws:
IOException
-
reload
void reload() throws IOException
- Throws:
IOException
-
getLoadedLocales
@NotNull @NotNull @Unmodifiable Set<Locale> getLoadedLocales()
-
getDirectory
@NotNull @NotNull Path getDirectory()
-
getRegistryKey
@NotNull @NotNull net.kyori.adventure.key.Key getRegistryKey()
-
getDefaultLocale
@NotNull @NotNull Locale getDefaultLocale()
-
getFileExtension
@NotNull @NotNull String getFileExtension()
-
-