|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.ResourceBundle
org.apache.ode.utils.msg.MessageBundle
org.apache.ode.utils.cli.CommandLineMessages
public class CommandLineMessages
Message bundle for org.apache.ode.utils.cli.CliHelper
.
Field Summary |
---|
Fields inherited from class java.util.ResourceBundle |
---|
parent |
Constructor Summary | |
---|---|
CommandLineMessages()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.ode.utils.msg.MessageBundle |
---|
format, format, getKeys, getMessages, getMessages, handleGetObject, todo |
Methods inherited from class java.util.ResourceBundle |
---|
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommandLineMessages()
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |