br.ufg.integrate.wrapper.csv
Class CsvReader
java.lang.Object
br.ufg.integrate.wrapper.csv.CSVReaderAdapter
br.ufg.integrate.wrapper.csv.CsvReader
public class CsvReader
- extends CSVReaderAdapter
This class is a helper class that handles the reading and parsing of data
from a .csv file.
- Version:
- $Id: CsvReader.java,v 1.12 2007/09/19
- Author:
- Jonathan Ackerman, Sander Brienen, Stuart Mottram (fritto), Jason Bedell, Tomasz Skutnik, Rogerio Arantes Gaioso
Constructor Summary |
CsvReader(String fileName)
Constructor for the CsvReader object |
CsvReader(String fileName,
char separator,
boolean suppressHeaders,
String charset)
TODO
Creation date: (6-11-2001 15:02:42) |
Methods inherited from class br.ufg.integrate.wrapper.csv.CSVReaderAdapter |
absolute, afterLast, beforeFirst, first, getColumn, getColumn, getColumnNames, getLineCount, getRow, getTableName, isAfterLast, isBeforeFirst, isFirst, isLast, last, previous, relative |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CsvReader
public CsvReader(String fileName)
throws Exception
- Constructor for the CsvReader object
- Parameters:
fileName
- Description of Parameter
- Throws:
Exception
- Description of Exception- Since:
CsvReader
public CsvReader(String fileName,
char separator,
boolean suppressHeaders,
String charset)
throws Exception
- TODO
Creation date: (6-11-2001 15:02:42)
- Parameters:
fileName
- java.lang.Stringseparator
- charsuppressHeaders
- boolean
- Throws:
Exception
- The exception description.- Since:
next
public boolean next()
throws SQLException
- Specified by:
next
in class CSVReaderAdapter
- Returns:
- Description of the Returned Value
- Throws:
SQLException
- Description of Exception- Since:
close
public void close()
- Specified by:
close
in class CSVReaderAdapter
parseCsvLine
protected String[] parseCsvLine(String line)
throws SQLException
- Specified by:
parseCsvLine
in class CSVReaderAdapter
- Throws:
SQLException
Copyright © 2008 Rogério Arantes Gaioso. All Rights Reserved.