com.exponto.jstock
Class ChartData

java.lang.Object
  extended bycom.exponto.jstock.ChartData

public class ChartData
extends java.lang.Object

ChartData.java Load the dataset from file or other source (to be implemented). Can transform dataset to other formats (log, weekly) as required

Author:
kaare

Constructor Summary
ChartData()
          Creates a new instance of ChartData
 
Method Summary
 LogDataSeries getLogDataSeries()
           
 TickerID getTickerId()
          Returns the TickerID of the LogdataSeries associated with this class.
 LogDataSeries getWeeklyLogDataSeries()
          Returns a LogSeriesData that contains weekly data.
 void loadLogDataSeries(int numberToGet, TickerID tID, int format)
          Reads dataseries from a source, currently only files in "netfonds" format are understood
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartData

public ChartData()
Creates a new instance of ChartData

Method Detail

loadLogDataSeries

public void loadLogDataSeries(int numberToGet,
                              TickerID tID,
                              int format)
                       throws TickerNotFoundException
Reads dataseries from a source, currently only files in "netfonds" format are understood

Throws:
TickerNotFoundException

getLogDataSeries

public LogDataSeries getLogDataSeries()
Returns:
the LogDataSeries

getWeeklyLogDataSeries

public LogDataSeries getWeeklyLogDataSeries()
Returns a LogSeriesData that contains weekly data. If that dosn't exist, it is computed when this methode is called

Returns:
LogDataSeries with weekly data.

getTickerId

public TickerID getTickerId()
Returns the TickerID of the LogdataSeries associated with this class.

Returns:
the TickerId


Copyright © 2004 Kaare Ranum