stockDataRetrieval
Class DownloadManager.DownloaderThread

java.lang.Object
  extended byjava.lang.Thread
      extended bystockDataRetrieval.DownloadManager.DownloaderThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
DownloadManager

private class DownloadManager.DownloaderThread
extends java.lang.Thread

Threaded class to download the webpages in a threaded manner instead of in a sequential manner.


Field Summary
private  java.lang.String ticker
           
private  java.lang.String url
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DownloadManager.DownloaderThread(java.lang.String targetURL, java.lang.String targetTicker)
          Constructor takes in enough information to download and save the file appropriately
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

url

private java.lang.String url

ticker

private java.lang.String ticker
Constructor Detail

DownloadManager.DownloaderThread

public DownloadManager.DownloaderThread(java.lang.String targetURL,
                                        java.lang.String targetTicker)
Constructor takes in enough information to download and save the file appropriately

Parameters:
targetURL - the URL to download
targetTicker - the ticker of the stock being downloaded
Method Detail

run

public void run()