finance.edgar
Class DataMiningUtils

java.lang.Object
  extended by finance.edgar.DataMiningUtils

public class DataMiningUtils
extends java.lang.Object

User: lyon Date: Jul 6, 2007 Time: 6:05:30 AM Copyright DocJava, Inc. 2005.


Constructor Summary
DataMiningUtils()
           
 
Method Summary
static void mineParser(javax.swing.text.html.HTMLEditorKit.ParserCallback parser, java.net.URL url)
           
static void url2Data(java.net.URL url, javax.swing.text.html.HTMLEditorKit.ParserCallback pcb)
          Parse the URL and store the data in the PCB
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataMiningUtils

public DataMiningUtils()
Method Detail

url2Data

public static void url2Data(java.net.URL url,
                            javax.swing.text.html.HTMLEditorKit.ParserCallback pcb)
                     throws java.io.IOException,
                            javax.swing.text.BadLocationException
Parse the URL and store the data in the PCB

Parameters:
url - a well-formed and correct url used to obtain data
pcb - a class responsible for parsing the data
Throws:
java.io.IOException
javax.swing.text.BadLocationException

mineParser

public static void mineParser(javax.swing.text.html.HTMLEditorKit.ParserCallback parser,
                              java.net.URL url)
                       throws java.io.IOException,
                              javax.swing.text.BadLocationException
Throws:
java.io.IOException
javax.swing.text.BadLocationException