Modifier and Type | Class and Description |
---|---|
protected static interface |
AbstractConsoleApp.MainOptions
Main options
|
Reporter.SetLocation
Report.Location
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
encoding |
protected java.io.PrintStream |
err |
protected java.io.PrintStream |
out |
(package private) Settings |
settings |
(package private) int[] |
tabs |
private java.lang.Object |
target |
(package private) int |
width |
Constructor and Description |
---|
AbstractConsoleApp() |
AbstractConsoleApp(java.lang.Object target)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
__main(AbstractConsoleApp.MainOptions opts)
Initialize the repository and other global vars.
|
void |
run(java.lang.String[] args)
Main entry
|
addAll, addAll, addProperties, addProperty, addTarget, clear, config, config, getBase, getDir, getFile, getFile, getHeader, getHeader, getMap, getParent, getProperties, getProperty, getProperty, isPrepared, isTrue, prepare, process, putAll, putAll, removeProperty, removeTarget, setBase, setProperties, setProperties, setProperty
addErrors, addWarnings, check, error, exception, getErrors, getInfo, getInfo, getLocation, getMessages, getOut, getWarnings, isExceptions, isOk, isPedantic, isPerfect, isTrace, progress, report, run, setExceptions, setPedantic, setTrace, trace, warning
Settings settings
protected final java.io.PrintStream err
protected final java.io.PrintStream out
static java.lang.String encoding
int width
int[] tabs
private final java.lang.Object target
public AbstractConsoleApp(java.lang.Object target) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public AbstractConsoleApp() throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public void run(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void __main(AbstractConsoleApp.MainOptions opts) throws java.io.IOException
opts
- the optionsjava.io.IOException