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 TypeMethodDescriptionvoid
Collects allITracePoint
instances 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 theProperties
format whereTracePoint2D
instances (key is x, value is y) is parsed from.
-
-
Method Details
-
collectData
Description copied from class:AStaticDataCollector
Collects allITracePoint
instances from it's underlying source and adds it to the internal trace.- Specified by:
collectData
in classAStaticDataCollector
- Throws:
IOException
- if parsing or IO operations fails.FileNotFoundException
- See Also:
-