|
RbUtils 0.13 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ktc.rbutils.rb.AbstractUtility
org.ktc.rbutils.rb.check.RbCheckerUtility
public class RbCheckerUtility
Command line utility for ResourceBundle check.
| Field Summary | |
|---|---|
static String |
ERROR_MSG_FC_NBR
Error mesage when more than on target generation directory is specified. |
protected static String |
OPTION_FC
The fc option (for filechecker class name). |
| Fields inherited from class org.ktc.rbutils.rb.AbstractUtility |
|---|
cmdLine, ERROR_MSG_EXTENSION_NBR, ERROR_MSG_ROOT_NBR, internalArgs, MSG_MISSING_REQUIRED_OPTION, OPTION_EXTENSION, OPTION_FILE, OPTION_LOG, OPTION_ROOT, options, REQUIRED_HEADER, root, SEP_LOG_OPTION, taskName |
| Constructor Summary | |
|---|---|
protected |
RbCheckerUtility(String[] args)
Creates a new instance of RbCheckerUtility. |
| Method Summary | |
|---|---|
protected MainProcessor |
buildProcessor()
Build the utility processor by parsing the user arguments. |
String |
getFileChecker()
Parses the arguments of this utility in order to get the file checker to be used by this utility. |
protected static int |
mainNoExit(String[] args,
PrintWriter pw)
Launches the utility. |
protected int |
process()
Launches the utility. |
| Methods inherited from class org.ktc.rbutils.rb.AbstractUtility |
|---|
clone, getCommonOptions, getExtension, getFilesToBeProcessed, getLoggers, getRootDir, getUniqueDir, getUniqueOptionValue, parse, parseParameters, usage, usage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ktc.rbutils.rb.Utility |
|---|
getExtension, getFilesToBeProcessed, getLoggers, getRootDir, parse, parseParameters, usage, usage |
| Field Detail |
|---|
protected static final String OPTION_FC
public static final String ERROR_MSG_FC_NBR
| Constructor Detail |
|---|
protected RbCheckerUtility(String[] args)
args - the arguments to be passed to the utility.| Method Detail |
|---|
public String getFileChecker()
throws RbUtilsException
The Utility.parseParameters() method MUST have been previously called.
getFileChecker in interface CheckerUtilityRbUtilsException - if more than one -fc option is specified.
protected int process()
throws Exception
Exception - if the arguments to be passed to the utility are not valid.
protected MainProcessor buildProcessor()
throws Exception
Exception - if the arguments to be passed to the utility are not valid.
protected static int mainNoExit(String[] args,
PrintWriter pw)
args - the arguments to be passed to the utility.pw - the Writer to be used to print messages.
|
Back to the RbUtils Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||