Modifier and Type | Method | Description |
---|---|---|
static CommandLine.Model.Messages |
CommandLine.Model.Messages.copy(CommandLine.Model.CommandSpec spec,
CommandLine.Model.Messages original) |
Returns a copy of the specified Messages object with the CommandSpec replaced by the specified one.
|
CommandLine.Model.Messages |
CommandLine.Model.ArgGroupSpec.messages() |
Returns the Messages for this argument group specification, or
null . |
CommandLine.Model.Messages |
CommandLine.Model.ArgSpec.messages() |
Returns the Messages for this arg specification, or
null . |
CommandLine.Model.Messages |
CommandLine.Model.UsageMessageSpec.messages() |
Returns the Messages for this usage help message specification, or
null . |
Modifier and Type | Method | Description |
---|---|---|
static CommandLine.Model.Messages |
CommandLine.Model.Messages.copy(CommandLine.Model.CommandSpec spec,
CommandLine.Model.Messages original) |
Returns a copy of the specified Messages object with the CommandSpec replaced by the specified one.
|
static boolean |
CommandLine.Model.Messages.empty(CommandLine.Model.Messages messages) |
Returns
true if the specified Messages is null or has a null ResourceBundle . |
CommandLine.Model.ArgGroupSpec |
CommandLine.Model.ArgGroupSpec.messages(CommandLine.Model.Messages msgs) |
Sets the Messages for this ArgGroupSpec, and returns this ArgGroupSpec.
|
CommandLine.Model.ArgSpec |
CommandLine.Model.ArgSpec.messages(CommandLine.Model.Messages msgs) |
Sets the Messages for this ArgSpec, and returns this ArgSpec.
|
CommandLine.Model.UsageMessageSpec |
CommandLine.Model.UsageMessageSpec.messages(CommandLine.Model.Messages msgs) |
Sets the Messages for this usageMessage specification, and returns this UsageMessageSpec.
|
static ResourceBundle |
CommandLine.Model.Messages.resourceBundle(CommandLine.Model.Messages messages) |
Returns the ResourceBundle of the specified Messages object or
null if the specified Messages object is null . |
static String |
CommandLine.Model.Messages.resourceBundleBaseName(CommandLine.Model.Messages messages) |
Returns the ResourceBundle of the specified Messages object or
null if the specified Messages object is null . |
Copyright © 2017–2019. All rights reserved.