|
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.generation.RbGeneratorUtility
public class RbGeneratorUtility
Command line utility for ResourceBundle generation.
| Field Summary | |
|---|---|
static String |
ERROR_MSG_GEN_NBR
Error mesage when more than on target generation directory is specified. |
protected static String |
OPTION_GEN
The g option (for target generation directory). |
| 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 |
RbGeneratorUtility(String[] args)
Creates a new instance of RbGeneratorUtility. |
| Method Summary | |
|---|---|
File |
getGenDir()
Parses the arguments of this utility in order to get the generation target directory 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_GEN
public static final String ERROR_MSG_GEN_NBR
| Constructor Detail |
|---|
protected RbGeneratorUtility(String[] args)
args - the arguments to be passed to the utility.| Method Detail |
|---|
public File getGenDir()
throws RbUtilsException,
FileNotFoundException
The Utility.parseParameters() method MUST have been previously called.
getGenDir in interface GeneratorUtilityRbUtilsException - if more than one -g option is specified.
FileNotFoundException - if the -g option specified a directory that does not exist in
the file system.
protected int process()
throws Exception
Exception - the arguments to be passed to the utility.
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 | |||||||||