JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Tree
Index
Search
Help
net.okocraft.box.api.message
DefaultMessageCollector
Contents
Description
Method Summary
Method Details
add(String, String)
Hide sidebar
Show sidebar
Interface DefaultMessageCollector
public interface
DefaultMessageCollector
An interface that collects default messages.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
@NotNull
String
add
(@NotNull
String
key, @NotNull
String
defaultMessage)
Adds a default message with the key.
Method Details
add
@Contract("_, _ -> param1") @NotNull
@NotNull
String
add
(@NotNull @NotNull
String
key, @NotNull @NotNull
String
defaultMessage)
Adds a default message with the key.
Parameters:
key
- a key of message
defaultMessage
- a default message
Returns:
the given key