public class PropertyFileStaticDataCollector extends AStaticDataCollector
ITracePoint2D instances from a property
file ( Properties).
m_trace| Constructor | Description |
|---|---|
PropertyFileStaticDataCollector(ITrace2D trace,
java.io.InputStream propertyFileStream) |
Constructor with target trace and property file.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
collectData() |
Collects all
ITracePoint instances from it's underlying
source and adds it to the internal trace. |
getTracepublic PropertyFileStaticDataCollector(ITrace2D trace, java.io.InputStream propertyFileStream)
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.public void collectData()
throws java.io.FileNotFoundException,
java.io.IOException
AStaticDataCollectorITracePoint instances from it's underlying
source and adds it to the internal trace.
collectData in class AStaticDataCollectorjava.io.IOException - if parsing or IO operations fails.java.io.FileNotFoundExceptionAStaticDataCollector.collectData()Copyright © 2001 - 2010 LGPL, All Rights Footloose.