public interface TranslationProvider
| Modifier and Type | Method and Description | 
|---|---|
String | 
applyPlaceholders(String raw,
                 Object... placeholders)
Applied placeholders to the given raw message. 
 | 
@Nullable String | 
get(String key)
Returns a message of a single line. 
 | 
default @Nullable String | 
get(String key,
   Object... placeholders)
Returns a message of a single line. 
 | 
@Nullable List<String> | 
getList(String key)
Returns a message of one or more lines. 
 | 
default @Nullable List<String> | 
getList(String key,
       Object... placeholders)
Returns a message of one or more lines. 
 | 
@Nullable String get(String key)
key - the key of the requested messagedefault @Nullable String get(String key, Object... placeholders)
key - the key of the requested messageplaceholders - the placeholders to use in this message@Nullable List<String> getList(String key)
key - the key of the requested messagedefault @Nullable List<String> getList(String key, Object... placeholders)
key - the key of the requested messageplaceholders - the placeholders to use in this message