Package info.monitorenter.gui.chart.io
Class AStaticDataCollector
java.lang.Object
info.monitorenter.gui.chart.io.AStaticDataCollector
- Direct Known Subclasses:
PropertyFileStaticDataCollector
Base class for data collectors that fill traces for static charts in one run.
Extend from this class and override the method collectData()
.
- Version:
- $Revision: 1.3 $
- Author:
- Achim Westermann
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
Collects allITracePoint
instances from it's underlying source and adds it to the internal trace.getTrace()
Returns the trace data is added to.
-
Field Details
-
m_trace
Target trace where all collected data is added.
-
-
Constructor Details
-
AStaticDataCollector
Constructor with target trace.- Parameters:
trace
- the trace collected points will be added to.
-
-
Method Details
-
collectData
Collects allITracePoint
instances from it's underlying source and adds it to the internal trace.- Throws:
IOException
- if parsing or IO operations fails.
-
getTrace
Returns the trace data is added to.- Returns:
- the trace data is added to.
-