All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.afternode.commons.localizations.ILocalizations Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
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