info.monitorenter.gui.chart.io
Class PropertyFileStaticDataCollector
java.lang.Object
info.monitorenter.gui.chart.io.AStaticDataCollector
info.monitorenter.gui.chart.io.PropertyFileStaticDataCollector
public class PropertyFileStaticDataCollector
- extends AStaticDataCollector
Data collector that collects data in form of
TracePoint2D
instances from a property
file ( Properties
).
- Author:
- Achim Westermann
Method Summary |
void |
collectData()
Collects all ITracePoint instances from it's underlying
source and adds it to the internal trace. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyFileStaticDataCollector
public PropertyFileStaticDataCollector(ITrace2D trace,
InputStream propertyFileStream)
- Constructor with target trace and property file.
- Parameters:
trace
- the target trace to add data to.propertyFileStream
- the stream of the file in the Properties
format
where TracePoint2D
instances
(key is x, value is y) is parsed from.
collectData
public void collectData()
throws FileNotFoundException,
IOException
- Description copied from class:
AStaticDataCollector
- Collects all
ITracePoint
instances from it's underlying
source and adds it to the internal trace.
- Specified by:
collectData
in class AStaticDataCollector
- Throws:
IOException
- if parsing or IO operations fails.
FileNotFoundException
- See Also:
AStaticDataCollector.collectData()
Copyright © 2001 - 2007 LGPL, All Rights Footloose.