com.holub.database
Interface Table.Importer
- All Known Implementing Classes:
- CSVImporter
- Enclosing interface:
- Table
public static interface Table.Importer
Used for importing tables in various formats.
Methods are called in the following order:
start()
loadTableName()
loadWidth()
loadColumnNames()
loadRow()
(multiple times)
done()
startTable
void startTable()
throws IOException
- Throws:
IOException
loadTableName
String loadTableName()
throws IOException
- Throws:
IOException
loadWidth
int loadWidth()
throws IOException
- Throws:
IOException
loadColumnNames
Iterator loadColumnNames()
throws IOException
- Throws:
IOException
loadRow
Iterator loadRow()
throws IOException
- Throws:
IOException
endTable
void endTable()
throws IOException
- Throws:
IOException