uk.org.ogsadai.converters.csv
Interface CSVHandler
- All Known Implementing Classes:
- AbstractResultSet
- public interface CSVHandler
An interface that handles the output of a CSVParser, for example for insertion into a java.sql.ResultSet.
- Author:
- The OGSA-DAI Team.
- See Also:
CSVParser
| Method Summary |
void |
putMetaData(java.sql.ResultSetMetaData metadata)
Process or store the metadata of a CSV expressed as java.sql.ResultSetMetaData. |
void |
putRow(java.util.Vector row)
Process or store a row of a CSV file. |
putRow
public void putRow(java.util.Vector row)
-
Process or store a row of a CSV file.
-
- Parameters:
row - A Vector of objects each representing a column value.
putMetaData
public void putMetaData(java.sql.ResultSetMetaData metadata)
throws java.sql.SQLException
-
Process or store the metadata of a CSV expressed as
java.sql.ResultSetMetaData.
-
- Parameters:
metadata - The parsed metadata from CSV file.
- Throws:
java.sql.SQLException - if there is a problem with accessing the metadata object or processing it.