org.opensha.sra.asset.io
Class CSVPortfolioParser

java.lang.Object
  extended by org.opensha.sra.asset.io.CSVPortfolioParser

public class CSVPortfolioParser
extends Object


Constructor Summary
CSVPortfolioParser()
           
 
Method Summary
static Collection<Portfolio> loadCSV(CSVFile<String> csv)
           
static Collection<Portfolio> loadCSV(File file)
           
static Portfolio loadSingleCSV(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVPortfolioParser

public CSVPortfolioParser()
Method Detail

loadCSV

public static Collection<Portfolio> loadCSV(File file)
                                     throws IOException
Throws:
IOException

loadSingleCSV

public static Portfolio loadSingleCSV(File file)
                               throws IOException
Throws:
IOException

loadCSV

public static Collection<Portfolio> loadCSV(CSVFile<String> csv)
                                     throws IOException
Throws:
IOException