stockDataRetrieval
Class DownloadManagerAMEX

java.lang.Object
  extended bystockDataRetrieval.DownloadManager
      extended bystockDataRetrieval.DownloadManagerAMEX

public class DownloadManagerAMEX
extends DownloadManager

Controls the behavior and variables for the AMEX information - inherits from the DownloadManager


Nested Class Summary
 
Nested classes inherited from class stockDataRetrieval.DownloadManager
 
Field Summary
private static java.lang.String tickerFile
          the file name where to save this list of tickers once they are parsed from the page
private static java.lang.String tickerSymbolPage
          the URL where the list of AMEX stocks resides
 
Fields inherited from class stockDataRetrieval.DownloadManager
 
Constructor Summary
DownloadManagerAMEX(int maxConnections)
          Constructor takes the user defined max concurrent connections to be made with Yahoo and calls the super class's constructor with necessary data
 
Method Summary
 void getStockTickers()
          Compiles a list of all stock ticker symbols from the given market.
 
Methods inherited from class stockDataRetrieval.DownloadManager
createDirectory, createDirectoryStructure, getNewsStories, getStockHistoryFiles, getTickerAndCompany, main, writeDataToFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tickerSymbolPage

private static java.lang.String tickerSymbolPage
the URL where the list of AMEX stocks resides


tickerFile

private static java.lang.String tickerFile
the file name where to save this list of tickers once they are parsed from the page

Constructor Detail

DownloadManagerAMEX

public DownloadManagerAMEX(int maxConnections)
Constructor takes the user defined max concurrent connections to be made with Yahoo and calls the super class's constructor with necessary data

Parameters:
maxConnections - the max concurent connections the user allows = a value of 0 will default to 5 concurrent connections at a time
Method Detail

getStockTickers

public void getStockTickers()
Compiles a list of all stock ticker symbols from the given market.

Delegates responsibility to functions to go to a specific website and repeatedly hit and parse pages containing company name and ticker symbols.

Specified by:
getStockTickers in class DownloadManager