finance.stocks
Class YahooSummaryParser
java.lang.Object
   javax.swing.text.html.HTMLEditorKit.ParserCallback
javax.swing.text.html.HTMLEditorKit.ParserCallback
       finance.stocks.YahooSummaryParser
finance.stocks.YahooSummaryParser
- public class YahooSummaryParser 
- extends javax.swing.text.html.HTMLEditorKit.ParserCallback
 
| Fields inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback | 
| IMPLIED | 
 
 
 
| Methods inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback | 
| flush, handleComment, handleEndOfLineString, handleError, handleSimpleTag | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
YahooSummaryParser
public YahooSummaryParser(java.lang.String tickerSymbol)
                   throws java.io.IOException,
                          javax.swing.text.BadLocationException
- Throws:
- java.io.IOException
- javax.swing.text.BadLocationException
getValue
public YahooSummaryData getValue()
- 
 
handleEndTag
public void handleEndTag(javax.swing.text.html.HTML.Tag endTag,
                         int pos)
- 
- Overrides:
- handleEndTagin class- javax.swing.text.html.HTMLEditorKit.ParserCallback
 
- 
 
handleStartTag
public void handleStartTag(javax.swing.text.html.HTML.Tag startTag,
                           javax.swing.text.MutableAttributeSet a,
                           int pos)
- 
- Overrides:
- handleStartTagin class- javax.swing.text.html.HTMLEditorKit.ParserCallback
 
- 
 
handleText
public void handleText(char[] text,
                       int position)
- 
- Overrides:
- handleTextin class- javax.swing.text.html.HTMLEditorKit.ParserCallback
 
- 
 
getYahooSummaryUrl
public static java.net.URL getYahooSummaryUrl(java.lang.String ticker)
                                       throws java.net.MalformedURLException
- 
- Throws:
- java.net.MalformedURLException
 
main
public static void main(java.lang.String[] args)
                 throws java.io.IOException,
                        javax.swing.text.BadLocationException
- 
- Throws:
- java.io.IOException
- javax.swing.text.BadLocationException