aQute.lib.consoleapp
Class AbstractConsoleApp
java.lang.Object
aQute.libg.reporter.ReporterAdapter
aQute.lib.env.Env
aQute.lib.consoleapp.AbstractConsoleApp
- All Implemented Interfaces:
- Domain, Replacer, Report, Reporter, Runnable
public abstract class AbstractConsoleApp
- extends Env
| Methods inherited from class aQute.lib.env.Env |
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 |
| Methods inherited from class aQute.libg.reporter.ReporterAdapter |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
err
protected final PrintStream err
out
protected final PrintStream out
AbstractConsoleApp
public AbstractConsoleApp(Object target)
throws UnsupportedEncodingException
- Default constructor
- Throws:
UnsupportedEncodingException
AbstractConsoleApp
public AbstractConsoleApp()
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
run
public void run(String[] args)
throws Exception
- Main entry
- Throws:
Exception
__main
public void __main(AbstractConsoleApp.MainOptions opts)
throws IOException
- Initialize the repository and other global vars.
- Parameters:
opts - the options
- Throws:
InterruptedException
IOException
Copyright © 2014 aQute SARL. All rights reserved.