Documentation of 'info.monitorenter.gui.chart.io.PropertyFileStaticDataCollector' Java class
PropertyFileStaticDataCollector
info.monitorenter.gui.chart.io

Class PropertyFileStaticDataCollector



  • public class PropertyFileStaticDataCollector
    extends AStaticDataCollector
    Data collector that collects data in form of ITracePoint2D instances from a property file ( Properties).

    • Constructor Summary

      Constructors 
      Constructor and Description
      PropertyFileStaticDataCollector(ITrace2D trace, java.io.InputStream propertyFileStream)
      Constructor with target trace and property file.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropertyFileStaticDataCollector

        public PropertyFileStaticDataCollector(ITrace2D trace,
                                               java.io.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.
    • Method Detail

      • collectData

        public void collectData()
                         throws java.io.FileNotFoundException,
                                java.io.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:
        java.io.IOException - if parsing or IO operations fails.
        java.io.FileNotFoundException
        See Also:
        AStaticDataCollector.collectData()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.