info.monitorenter.gui.chart.io
Class AStaticDataCollector
- java.lang.Object
-
- info.monitorenter.gui.chart.io.AStaticDataCollector
-
- Direct Known Subclasses:
- PropertyFileStaticDataCollector
public abstract class AStaticDataCollector extends java.lang.ObjectBase class for data collectors that fill traces for static charts in one run.
Extend from this class and override the method
collectData().
-
-
Constructor Summary
Constructors Constructor and Description AStaticDataCollector(ITrace2D trace)Constructor with target trace.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract voidcollectData()Collects allITracePointinstances from it's underlying source and adds it to the internal trace.ITrace2DgetTrace()Returns the trace data is added to.
-
-
-
Constructor Detail
-
AStaticDataCollector
public AStaticDataCollector(ITrace2D trace)
Constructor with target trace.- Parameters:
trace- the trace collected points will be added to.
-
-
Method Detail
-
collectData
public abstract void collectData() throws java.io.IOExceptionCollects allITracePointinstances from it's underlying source and adds it to the internal trace.- Throws:
java.io.IOException- if parsing or IO operations fails.
-
getTrace
public ITrace2D getTrace()
Returns the trace data is added to.- Returns:
- the trace data is added to.
-
-
DMelt 3.0 © DataMelt by jWork.ORG