Contents
Class MessageFormat
java.lang.Object
com.hypixel.hytale.server.core.util.message.MessageFormat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Messagelist(Message header, Collection<Message> values) Join together a series of values with a shared context.
-
Constructor Details
-
MessageFormat
public MessageFormat()
-
-
Method Details
-
list
Join together a series of values with a shared context. The formatting of the list may depend on additional translation strings as well as the length of the values.- Parameters:
header- List header, or null if none should be usedvalues- Values- Returns:
- The formatted
Messageinstance.
-