com.crocus.examples.csv
Class CSVSingleFileInterface
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 - Stringdeliminator - charcsvRecordManager - CSVRecordManager
- Throws:
FileNotFoundException
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