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:


Method Summary
 void endTable()
           
 Iterator loadColumnNames()
           
 Iterator loadRow()
           
 String loadTableName()
           
 int loadWidth()
           
 void startTable()
           
 

Method Detail

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