Fields Summary |
---|
private static final String | urlBaseThe URL base for requesting a stock price; it looks like
"http://finance.yahoo.com/q?d=t&s=" |
private BufferedReader | webPageStreamThe character stream of HTML that is parsed for the stock price
returned by java.net.URL.openStream()
see java.net.URL |
private URL | stockSiteThe java.net.URL object that represents the stock Web page |
private ParserDelegator | htmlParserThe ParserDelegator object for which ParserDelegator.parse() is
called for the Web page |
private MyParserCallback | callbackThe MyParserCallback object (inner class); this object is an
argument to the ParserDelegator.parse() method |
private String | htmlTextThis String holds the HTML text as the Web page is parsed. |
private String | symbol |
private float | stockVal |