net.cr320
Class OldHw7
java.lang.Object
net.cr320.OldHw7
public class OldHw7
- extends java.lang.Object
For hw 7, finish the below program so that it scans the edgar master
records in the csv file for ducth auctions and prints the:
symbol, min, max, td, odd lots honored
for example:
hd, 39, 44, 8/16/2007, yes
Hint: the symbol may not be easy to extract.
Not every SC TO-I record is a Dutch Auction, and so filtering is
required.
The filter that I wrote in class may not be 100% bug free.
Extra credit if you find a bug in my DAR filter.
Method Summary |
static void |
extractDARData()
|
java.lang.String |
getSs()
|
static java.lang.String |
getSymbol(java.lang.String rawhtml)
|
static void |
main(java.lang.String[] args)
|
void |
setSs(java.lang.String ss)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OldHw7
public OldHw7()
extractDARData
public static void extractDARData()
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
getSymbol
public static java.lang.String getSymbol(java.lang.String rawhtml)
getSs
public java.lang.String getSs()
setSs
public void setSs(java.lang.String ss)
main
public static void main(java.lang.String[] args)
throws java.io.IOException,
java.text.ParseException,
javax.swing.text.BadLocationException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.text.ParseException
javax.swing.text.BadLocationException
java.lang.ClassNotFoundException