finance.dar
Class DarBeanParser

java.lang.Object
  extended by javax.swing.text.html.HTMLEditorKit.ParserCallback
      extended by finance.dar.DarBeanParser

public class DarBeanParser
extends javax.swing.text.html.HTMLEditorKit.ParserCallback


Field Summary
 
Fields inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback
IMPLIED
 
Constructor Summary
DarBeanParser(java.lang.String tickerSymbol)
           
 
Method Summary
 java.lang.Number getFormattedYahooNumber(java.lang.String s)
           
 int getMonth(java.lang.String strMonth)
           
static java.net.URL getSecFiling()
           
 DarBean getValue()
           
 void handleEndTag(javax.swing.text.html.HTML.Tag endTag, int pos)
           
 void handleStartTag(javax.swing.text.html.HTML.Tag startTag, javax.swing.text.MutableAttributeSet a, int pos)
           
 void handleText(char[] text, int position)
           
static void main(java.lang.String[] args)
           
 
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
 

Constructor Detail

DarBeanParser

public DarBeanParser(java.lang.String tickerSymbol)
              throws java.io.IOException,
                     javax.swing.text.BadLocationException
Throws:
java.io.IOException
javax.swing.text.BadLocationException
Method Detail

getValue

public DarBean getValue()

handleEndTag

public void handleEndTag(javax.swing.text.html.HTML.Tag endTag,
                         int pos)
Overrides:
handleEndTag in 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:
handleStartTag in class javax.swing.text.html.HTMLEditorKit.ParserCallback

handleText

public void handleText(char[] text,
                       int position)
Overrides:
handleText in class javax.swing.text.html.HTMLEditorKit.ParserCallback

getMonth

public int getMonth(java.lang.String strMonth)

getFormattedYahooNumber

public java.lang.Number getFormattedYahooNumber(java.lang.String s)

getSecFiling

public static java.net.URL getSecFiling()
                                 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