com.exponto.jstock.io
Class LoadDataSet

java.lang.Object
  extended bycom.exponto.jstock.io.LoadDataSet

public class LoadDataSet
extends java.lang.Object

Author:
kaare

Constructor Summary
LoadDataSet()
           
 
Method Summary
 LogDataSeries loadData(TickerID tId, int numberOfDays)
          Called by external class to load a LogDataSeries either from file or from the internet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadDataSet

public LoadDataSet()
Method Detail

loadData

public LogDataSeries loadData(TickerID tId,
                              int numberOfDays)
                       throws TickerNotFoundException
Called by external class to load a LogDataSeries either from file or from the internet. Does some preprocessing before a datafile is read. Among them download the file if "internet" is enabled. Also check the format of the file. Then calls an other method to do the reading.

Parameters:
tId -
numberOfDays - Limits the number of days read if the file contains more data then wanted
Returns:
LogDataSeries
Throws:
TickerNotFoundException


Copyright © 2004 Kaare Ranum