com.crocus.examples.csv
Class CSVSingleFileInterface

java.lang.Object
  extended by com.crocus.examples.csv.CSVSingleFileInterface
All Implemented Interfaces:
CSVReadInterface

public class CSVSingleFileInterface
extends Object
implements CSVReadInterface

Title:

Description: The main class for the system Launch

Copyright:

Company:

Author:
M Shaaf
Email:
shaaf.m@gmail.com

Constructor Summary
CSVSingleFileInterface(AbstractCSVFileSet csvFileSet)
           
CSVSingleFileInterface(String fileName)
           
CSVSingleFileInterface(String fileName, char deliminator)
           
CSVSingleFileInterface(String fileName, char deliminator, CSVRecordManager csvRecordManager)
           
 
Method Summary
 CSVFile getCSVFile()
           
 AbstractCSVRecordManager getRecordManager()
           
static void main(String[] args)
           
 AbstractCSVRecordManager read()
           
 void write(CSVFile newCsvFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVSingleFileInterface

public CSVSingleFileInterface(String fileName,
                              char deliminator)
                       throws FileNotFoundException
Throws:
IOException
FileNotFoundException

CSVSingleFileInterface

public CSVSingleFileInterface(AbstractCSVFileSet csvFileSet)

CSVSingleFileInterface

public CSVSingleFileInterface(String fileName)
                       throws FileNotFoundException
Parameters:
fileName - String
Throws:
FileNotFoundException

CSVSingleFileInterface

public CSVSingleFileInterface(String fileName,
                              char deliminator,
                              CSVRecordManager csvRecordManager)
                       throws FileNotFoundException
Parameters:
fileName - String
deliminator - char
csvRecordManager - CSVRecordManager
Throws:
FileNotFoundException
Method Detail

read

public AbstractCSVRecordManager read()
                              throws IOException,
                                     FileNotFoundException
Specified by:
read in interface CSVReadInterface
Returns:
CSVRecordManager
Throws:
IOException
FileNotFoundException

write

public void write(CSVFile newCsvFile)
           throws FileNotFoundException,
                  IOException
Throws:
FileNotFoundException
IOException

getRecordManager

public AbstractCSVRecordManager getRecordManager()
Returns:
CSVRecordManager

getCSVFile

public CSVFile getCSVFile()

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException

Crocus - The First Flower of Spring