Package net.jeqo.bloons.message
Class Languages
java.lang.Object
net.jeqo.bloons.message.Languages
A class to manage the translations and retrieving of messages
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Copies all language files over from the languages directorystatic String
getMessage
(String message) Gets a message from the language file specified in the config
-
Constructor Details
-
Languages
public Languages()
-
-
Method Details
-
copyLanguageFiles
public static void copyLanguageFiles()Copies all language files over from the languages directory -
getMessage
Gets a message from the language file specified in the config- Parameters:
message
- The message to get from the language file, type java.lang.String- Returns:
- The message from the language file, type java.lang.String/null
-