Package net.glowstone.command.minecraft
Class GlowVanillaCommand.CommandMessages
java.lang.Object
net.glowstone.command.minecraft.GlowVanillaCommand.CommandMessages
- Enclosing class:
- GlowVanillaCommand
-
Constructor Summary
ConstructorsConstructorDescriptionCommandMessages
(ResourceBundle bundle, String description, String usageMessage, String permissionMessage) -
Method Summary
Modifier and TypeMethodDescriptionjoinList
(CharSequence... objects) Returns the given items as a comma-separated list.joinList
(Iterable<? extends CharSequence> objects) Returns the given items as a comma-separated list.joinList
(Stream<? extends CharSequence> objects) Returns the given items as a comma-separated list.
-
Constructor Details
-
CommandMessages
public CommandMessages(ResourceBundle bundle, String description, String usageMessage, String permissionMessage)
-
-
Method Details
-
getGeneric
-
joinList
Returns the given items as a comma-separated list. The comma character and surrounding spacing are a localized string.- Parameters:
objects
- the items to format as a list- Returns:
- a comma-separated list
-
joinList
Returns the given items as a comma-separated list. The comma character and surrounding spacing are a localized string.- Parameters:
objects
- the items to format as a list- Returns:
- a comma-separated list
-
joinList
Returns the given items as a comma-separated list. The comma character and surrounding spacing are a localized string.- Parameters:
objects
- the items to format as a list- Returns:
- a comma-separated list
-
getLocale
-
getResourceBundle
-
getDescription
-
getUsageMessage
-
getPermissionMessage
-
getJoiner
-