| Modifier and Type | Class | Description |
|---|---|---|
protected static interface |
AbstractConsoleApp.MainOptions |
Main options
|
Report.LocationReporter.SetLocation| Modifier and Type | Field | Description |
|---|---|---|
protected java.io.PrintStream |
err |
|
protected java.io.PrintStream |
out |
| Constructor | Description |
|---|---|
AbstractConsoleApp() |
|
AbstractConsoleApp(java.lang.Object target) |
Default constructor
|
| Modifier and Type | Method | 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, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddErrors, addWarnings, check, error, exception, getErrors, getInfo, getInfo, getLocation, getMessages, getOut, getWarnings, isExceptions, isOk, isPedantic, isPerfect, isTrace, progress, report, run, setExceptions, setPedantic, setTrace, trace, warningprotected final java.io.PrintStream err
protected final java.io.PrintStream out
public AbstractConsoleApp(java.lang.Object target)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic AbstractConsoleApp()
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic void run(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic void __main(AbstractConsoleApp.MainOptions opts) throws java.io.IOException
opts - the optionsjava.io.IOException