de.spieleck.app.jacson
Class Jacson
java.lang.Object
de.spieleck.app.jacson.JacsonBlock
de.spieleck.app.jacson.Jacson
- All Implemented Interfaces:
- ConfigVerify.Acceptor, JacsonChunkDrain, JacsonEvaluator, JacsonNames, JacsonRegistrable, JacsonReporting, JacsonStately
- Direct Known Subclasses:
- JacsonGeneric, JacsonTail
- public class Jacson
- extends JacsonBlock
The master Object to be used when Jacson is embedded into
other programs and also a main()
driver to enable
Jacson on the commandline.
- Author:
- fsn
Fields inherited from interface de.spieleck.app.jacson.JacsonNames |
BLOCKREPORT, JS_DEBUG_FLAG, JS_MAIN_CFG, JS_OBJ_EVAL, JS_OBJ_FILTER, JS_OBJ_LABEL, JS_OBJ_REPORT, JS_OBJ_SELECT, JS_OBJ_SOURCE, JS_PCK_EVAL, JS_PCK_FILTER, JS_PCK_REPORT, JS_PCK_SELECT, JS_PCK_SOURCE, JS_REP_BLOCK, JS_REP_CHUNK, JS_REP_EVAL, JS_REP_FILTER, JS_REP_LABEL, JS_REP_LIST, JS_REP_LOG, JS_REP_NAME, JS_REP_NUMBER, JS_REP_PROC, JS_REP_RESULT, JS_REP_SUMMARY, JS_REP_TIME, JS_REP_TSTAMP, JS_REPORT_CFG, JS_STATE_ID |
Methods inherited from class de.spieleck.app.jacson.JacsonBlock |
accept, addEvaluator, addFilter, addReport, clearReports, createReport, dispatchChunk, getLabel, getMyDrain, getReport, init, obtainEvaluators, obtainFilters, obtainReports, putChunk, registerReport, registerReport, registerState, registerState, setChunkDispatch, summary |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
params
protected JacsonState params
Jacson
protected Jacson()
Jacson
public Jacson(JacsonState params)
Jacson
public Jacson(ConfigNode config,
JacsonState params)
throws JacsonConfigException
setParams
public void setParams(JacsonState params)
run
public void run(JacsonChunkSource chunker)
throws java.io.IOException,
JacsonException
- Throws:
java.io.IOException
JacsonException
summary
public void summary()
- Specified by:
summary
in interface JacsonReporting
- Overrides:
summary
in class JacsonBlock
exit
protected static void exit(java.lang.Class clazz,
java.lang.Throwable e)
paramArgs
public static int paramArgs(java.lang.String[] args,
JacsonState rootState)
- Obtain Jacson parameters identified by "=".
obtainConfig
public static ConfigNode obtainConfig(java.lang.String name,
JacsonState rootState)
throws JacsonConfigException
- Throws:
JacsonConfigException
main
public static void main(java.lang.String[] args)
Copyleft 2002 spieleck.de.