finance.edgar
Class EdgarMasterRecords
java.lang.Object
   finance.edgar.EdgarMasterRecords
finance.edgar.EdgarMasterRecords
- public class EdgarMasterRecords 
- extends java.lang.Object
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
EdgarMasterRecords
public EdgarMasterRecords()
add
public void add(EdgarMasterRecord emr)
- 
 
getRecords
public EdgarMasterRecord[] getRecords()
- 
 
restore
public static EdgarMasterRecords restore(java.io.File f)
                                  throws java.io.IOException,
                                         java.lang.ClassNotFoundException
- 
- Throws:
- java.io.IOException
- java.lang.ClassNotFoundException
 
save
public void save(java.io.File f)
          throws java.io.IOException
- 
- Throws:
- java.io.IOException
 
main
public static void main(java.lang.String[] args)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
- 
- Throws:
- java.io.IOException
- java.lang.ClassNotFoundException
 
getFromCSV
public static EdgarMasterRecords getFromCSV(java.io.File f)
                                     throws java.io.FileNotFoundException,
                                            java.text.ParseException
- 
- Throws:
- java.io.FileNotFoundException
- java.text.ParseException
 
getEmrFromCsv
public static EdgarMasterRecord getEmrFromCsv(java.lang.String s)
                                       throws java.text.ParseException
- Facory method that take csv input, of form
 cik, cn, formteyp, date, url
 
- 
- Parameters:
- s- a csv input string (one record)
- Returns:
- a new instance
- Throws:
- java.text.ParseException