public abstract class LuceneCliMinimum0
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
command |
protected java.lang.String |
footer |
protected java.lang.String |
header |
protected java.lang.String |
LABEL |
protected java.util.Locale |
language
Language
|
protected LumpLogger |
logger
Logs
|
protected Options |
options
The options for the given CLI
|
protected boolean |
verbose
Verbosity
|
Constructor and Description |
---|
LuceneCliMinimum0()
Loads the logger and the available options (by calling loadOptions)
|
Modifier and Type | Method and Description |
---|---|
protected void |
exitError(HelpFormatter formatter,
java.lang.String message)
Finish the process with the CLI help and the an error message.
|
protected void |
exitHelp(HelpFormatter formatter)
Exit displaying the CLI help
|
java.util.Locale |
getLanguage()
Getters
|
boolean |
getVerbosity() |
protected void |
loadOptions()
Load the options for input, output, language and help
|
void |
parseArguments(java.lang.String[] args)
Method to parse the arguments received.
|
protected CommandLine |
parseLine(java.lang.String[] args)
Parses the arguments and generates the command line for further
processing the parameters.
|
protected LumpLogger logger
protected java.lang.String LABEL
protected java.lang.String command
protected java.lang.String header
protected java.lang.String footer
protected Options options
protected java.util.Locale language
protected boolean verbose
public LuceneCliMinimum0()
protected void loadOptions()
public void parseArguments(java.lang.String[] args)
args
- protected CommandLine parseLine(java.lang.String[] args)
args
- Array of arguments as received from the command lineprotected void exitError(HelpFormatter formatter, java.lang.String message)
formatter
- message
- protected void exitHelp(HelpFormatter formatter)
formatter
- public java.util.Locale getLanguage()
public boolean getVerbosity()