| Package | Description |
|---|---|
| com.healthmarketscience.jackcess.util |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleImportFilter
Simple concrete implementation of ImportFilter which just returns the given
values.
|
| Modifier and Type | Field and Description |
|---|---|
private ImportFilter |
ImportUtil.Builder._filter |
| Modifier and Type | Method and Description |
|---|---|
private static Table |
ImportUtil.createUniqueTable(Database db,
java.lang.String name,
java.util.List<ColumnBuilder> columns,
java.sql.ResultSetMetaData md,
ImportFilter filter)
Returns a new table with a unique name and the given table definition.
|
static java.lang.String |
ImportUtil.importFile(java.io.File f,
Database db,
java.lang.String name,
java.lang.String delim,
char quote,
ImportFilter filter,
boolean useExistingTable)
Copy a delimited text file into a new table in this database.
|
static java.lang.String |
ImportUtil.importFile(java.io.File f,
Database db,
java.lang.String name,
java.lang.String delim,
char quote,
ImportFilter filter,
boolean useExistingTable,
boolean header)
Copy a delimited text file into a new table in this database.
|
static java.lang.String |
ImportUtil.importFile(java.io.File f,
Database db,
java.lang.String name,
java.lang.String delim,
ImportFilter filter)
Copy a delimited text file into a new table in this database.
|
static java.lang.String |
ImportUtil.importReader(java.io.BufferedReader in,
Database db,
java.lang.String name,
java.lang.String delim,
char quote,
ImportFilter filter,
boolean useExistingTable)
Copy a delimited text file into a new (or optionally exixsting) table in
this database.
|
static java.lang.String |
ImportUtil.importReader(java.io.BufferedReader in,
Database db,
java.lang.String name,
java.lang.String delim,
char quote,
ImportFilter filter,
boolean useExistingTable,
boolean header)
Copy a delimited text file into a new (or optionally exixsting) table in
this database.
|
static java.lang.String |
ImportUtil.importReader(java.io.BufferedReader in,
Database db,
java.lang.String name,
java.lang.String delim,
ImportFilter filter)
Copy a delimited text file into a new table in this database.
|
static java.lang.String |
ImportUtil.importReader(java.io.BufferedReader in,
Database db,
java.lang.String name,
java.lang.String delim,
ImportFilter filter,
boolean useExistingTable)
Copy a delimited text file into a new (or optionally exixsting) table in
this database.
|
static java.lang.String |
ImportUtil.importResultSet(java.sql.ResultSet source,
Database db,
java.lang.String name,
ImportFilter filter)
Copy an existing JDBC ResultSet into a new table in this database.
|
static java.lang.String |
ImportUtil.importResultSet(java.sql.ResultSet source,
Database db,
java.lang.String name,
ImportFilter filter,
boolean useExistingTable)
Copy an existing JDBC ResultSet into a new (or optionally existing) table
in this database.
|
ImportUtil.Builder |
ImportUtil.Builder.setFilter(ImportFilter filter) |