Package info.monitorenter.gui.chart.io
Class PropertyFileStaticDataCollector
java.lang.Object
info.monitorenter.gui.chart.io.AStaticDataCollector
info.monitorenter.gui.chart.io.PropertyFileStaticDataCollector
Data collector that collects data in form of
ITracePoint2D instances from a property
file ( Properties).
- Author:
- Achim Westermann
-
Field Summary
Fields inherited from class info.monitorenter.gui.chart.io.AStaticDataCollector
m_trace -
Constructor Summary
ConstructorsConstructorDescriptionPropertyFileStaticDataCollector(ITrace2D trace, InputStream propertyFileStream) Constructor with target trace and property file. -
Method Summary
Modifier and TypeMethodDescriptionvoidCollects allITracePointinstances from it's underlying source and adds it to the internal trace.Methods inherited from class info.monitorenter.gui.chart.io.AStaticDataCollector
getTrace
-
Constructor Details
-
PropertyFileStaticDataCollector
Constructor with target trace and property file.- Parameters:
trace- the target trace to add data to.propertyFileStream- the stream of the file in thePropertiesformat whereTracePoint2Dinstances (key is x, value is y) is parsed from.
-
-
Method Details
-
collectData
Description copied from class:AStaticDataCollectorCollects allITracePointinstances from it's underlying source and adds it to the internal trace.- Specified by:
collectDatain classAStaticDataCollector- Throws:
IOException- if parsing or IO operations fails.FileNotFoundException- See Also:
-