public class CommandLineMessages extends MessageBundle
org.apache.ode.utils.cli.CliHelper
.Constructor and Description |
---|
CommandLineMessages() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
msgAlreadySelectedOption(java.lang.String opt)
Format an error message about a repeated option.
|
java.lang.String |
msgCliHeader(java.lang.String cmd,
java.lang.String version,
java.lang.String date)
Format a header for display by a commandline tool at startup.
|
java.lang.String |
msgCommandLineError()
Format a generic error about an unparseable commandline.
|
java.lang.String |
msgHelp()
Format the description of the commandline help option.
|
java.lang.String |
msgMissingArgument(java.lang.String opt)
Format an error message about an option missing a required argument.
|
java.lang.String |
msgMissingOption(java.lang.String opt)
Format an error message about a missing required option.
|
java.lang.String |
msgQuiet()
Format the description of the quiet option.
|
java.lang.String |
msgUnrecognizedOption(java.lang.String opt)
Format an error message about an unrecognized commandline option.
|
java.lang.String |
msgVerbose()
Format the description of the verbose option.
|
java.lang.String |
msgVersion()
Format the description of the version information option.
|
java.lang.String |
msgVeryVerbose()
Format the description of the very verbose option.
|
format, format, getKeys, getMessages, getMessages, handleGetObject, todo
public java.lang.String msgCliHeader(java.lang.String cmd, java.lang.String version, java.lang.String date)
cmd
- the name of the command or class with main(...)
version
- the full version name, e.g., 2.0B101
date
- the build date
{0} - FiveSight ODE v{1} ({2})\nCopyright (c) 2003-2005 FiveSight
Technologies, Inc.public java.lang.String msgHelp()
public java.lang.String msgVerbose()
public java.lang.String msgVeryVerbose()
public java.lang.String msgVersion()
public java.lang.String msgQuiet()
public java.lang.String msgMissingArgument(java.lang.String opt)
opt
- the name of the option missing the argument
the option {0} requires an agument.public java.lang.String msgMissingOption(java.lang.String opt)
opt
- the name of the the option
the option {0} is required.public java.lang.String msgUnrecognizedOption(java.lang.String opt)
opt
- the unrecognized option
the option {0} is not recognized.public java.lang.String msgAlreadySelectedOption(java.lang.String opt)
opt
- the name of the option
the option {0} was already specified.public java.lang.String msgCommandLineError()