cn.afternode.commons.localizations.ILocalizations Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons Show documentation
Show all versions of commons Show documentation
Utilities for Minecraft bukkit plugin (and more) developing
package cn.afternode.commons.localizations;
import java.util.Map;
public interface ILocalizations {
/**
* Get localization without any placeholder
* @param key Localization key
* @return Result localizations, or provided key if not found
*/
String get(String key);
/**
* Get localizations with specified placeholders
* @param key Localization key
* @param placeholders Placeholders
* @return Result localizations with placeholders applied, or provided key if not found
*/
String get(String key, Map placeholders);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy