public class ZipFileTableReader extends Object implements TableReader
| Constructor and Description |
|---|
ZipFileTableReader(String zipFilename,
String charset) |
| Modifier and Type | Method and Description |
|---|---|
Reader |
getReader(Statement statement,
String tableName)
Get reader for a database table.
|
List<String> |
getTableNames(Connection connection)
Returns a list of the names of all tables in the database.
|
String |
getZipFilename() |
void |
setExtension(String fileExtension) |
public ZipFileTableReader(String zipFilename, String charset) throws IOException
IOExceptionpublic void setExtension(String fileExtension)
public String getZipFilename()
public Reader getReader(Statement statement, String tableName) throws SQLException
TableReadergetReader in interface TableReaderstatement - JDBC statement being executed.tableName - name of database table to read.SQLException - if table does not exist or cannot be read.public List<String> getTableNames(Connection connection) throws SQLException
TableReadergetTableNames in interface TableReaderconnection - JDBC connection.SQLException - if there is a problem creating table name list.Copyright © 2016. All rights reserved.