finance.edgar
Class EdgarParser

java.lang.Object
  extended by javax.swing.text.html.HTMLEditorKit.ParserCallback
      extended by finance.edgar.EdgarParser

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

Do not use this for CIKS! http://show.docjava.com:8086/book/cgij/code/data/symbolCikCompany.txt.gz is a better resource


Field Summary
 
Fields inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback
IMPLIED
 
Constructor Summary
EdgarParser(java.net.URL url)
           
 
Method Summary
 int getCik()
           
 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)
           
 
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

EdgarParser

public EdgarParser(java.net.URL url)
            throws java.io.IOException,
                   javax.swing.text.BadLocationException
Throws:
java.io.IOException
javax.swing.text.BadLocationException
Method Detail

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

handleEndTag

public void handleEndTag(javax.swing.text.html.HTML.Tag endTag,
                         int pos)
Overrides:
handleEndTag in class javax.swing.text.html.HTMLEditorKit.ParserCallback

getCik

public int getCik()