|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectstockDataRetrieval.DownloadManager
stockDataRetrieval.DownloadManagerAMEX
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 |
private static java.lang.String tickerSymbolPage
private static java.lang.String tickerFile
| Constructor Detail |
public DownloadManagerAMEX(int maxConnections)
maxConnections - the max concurent connections the user allows = a value of 0
will default to 5 concurrent connections at a time| Method Detail |
public void getStockTickers()
Delegates responsibility to functions to go to a specific website and repeatedly hit and parse pages containing company name and ticker symbols.
getStockTickers in class DownloadManager
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||