| Package | Description |
|---|---|
| com.healthmarketscience.jackcess | |
| com.healthmarketscience.jackcess.impl | |
| com.healthmarketscience.jackcess.impl.complex | |
| com.healthmarketscience.jackcess.util |
| Modifier and Type | Method and Description |
|---|---|
Database |
DatabaseBuilder.create()
Creates a new Database using the configured information.
|
static Database |
DatabaseBuilder.create(Database.FileFormat fileFormat,
java.io.File mdbFile)
Create a new Database for the given fileFormat
|
Database |
Table.getDatabase() |
Database |
Column.getDatabase() |
Database |
DatabaseBuilder.open()
Opens an existingnew Database using the configured information.
|
static Database |
DatabaseBuilder.open(java.io.File mdbFile)
Open an existing Database.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,Database> |
Database.getLinkedDatabases()
Returns an unmodifiable view of the currently loaded linked databases,
mapped from the linked database file name to the linked database.
|
| Modifier and Type | Method and Description |
|---|---|
Table |
TableBuilder.toTable(Database db)
Creates a new Table in the given Database with the currently configured
attributes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DatabaseImpl |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,Database> |
DatabaseImpl._linkedDbs
any linked databases which have been opened
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,Database> |
DatabaseImpl.getLinkedDatabases() |
| Modifier and Type | Method and Description |
|---|---|
Database |
ComplexColumnInfoImpl.getDatabase() |
| Modifier and Type | Field and Description |
|---|---|
private Database |
TableIterableBuilder._db |
private Database |
ExportUtil.Builder._db |
private Database |
ImportUtil.Builder._db |
| Modifier and Type | Method and Description |
|---|---|
Database |
LinkResolver.resolveLinkedDatabase(Database linkerDb,
java.lang.String linkeeFileName)
Returns the appropriate Database instance for the linkeeFileName from the
given linkerDb.
|
| 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 void |
ExportUtil.exportAll(Database db,
java.io.File dir)
Copy all tables into new delimited text files
Equivalent to: exportAll(db, dir, "csv"); |
static void |
ExportUtil.exportAll(Database db,
java.io.File dir,
java.lang.String ext)
Copy all tables into new delimited text files
Equivalent to: exportFile(db, name, f, false, null, '"',
SimpleExportFilter.INSTANCE); |
static void |
ExportUtil.exportAll(Database db,
java.io.File dir,
java.lang.String ext,
boolean header)
Copy all tables into new delimited text files
Equivalent to: exportFile(db, name, f, false, null, '"',
SimpleExportFilter.INSTANCE); |
static void |
ExportUtil.exportAll(Database db,
java.io.File dir,
java.lang.String ext,
boolean header,
java.lang.String delim,
char quote,
ExportFilter filter)
Copy all tables into new delimited text files
Equivalent to: exportFile(db, name, f, false, null, '"',
SimpleExportFilter.INSTANCE); |
static void |
ExportUtil.exportFile(Database db,
java.lang.String tableName,
java.io.File f)
Copy a table into a new delimited text file
Equivalent to: exportFile(db, name, f, false, null, '"',
SimpleExportFilter.INSTANCE); |
static void |
ExportUtil.exportFile(Database db,
java.lang.String tableName,
java.io.File f,
boolean header,
java.lang.String delim,
char quote,
ExportFilter filter)
Copy a table into a new delimited text file
Nearly equivalent to: exportWriter(db, name, new BufferedWriter(f),
header, delim, quote, filter); |
static void |
ExportUtil.exportWriter(Database db,
java.lang.String tableName,
java.io.BufferedWriter out)
Copy a table in this database into a new delimited text file
Equivalent to: exportWriter(db, name, out, false, null, '"',
SimpleExportFilter.INSTANCE); |
static void |
ExportUtil.exportWriter(Database db,
java.lang.String tableName,
java.io.BufferedWriter out,
boolean header,
java.lang.String delim,
char quote,
ExportFilter filter)
Copy a table in this database into a new delimited text file.
|
static java.lang.String |
ImportUtil.importFile(java.io.File f,
Database db,
java.lang.String name,
java.lang.String delim)
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)
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)
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)
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)
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.
|
Database |
LinkResolver.resolveLinkedDatabase(Database linkerDb,
java.lang.String linkeeFileName)
Returns the appropriate Database instance for the linkeeFileName from the
given linkerDb.
|
ExportUtil.Builder |
ExportUtil.Builder.setDatabase(Database db) |
ImportUtil.Builder |
ImportUtil.Builder.setDatabase(Database db) |
| Constructor and Description |
|---|
Builder(Database db) |
Builder(Database db) |
Builder(Database db,
java.lang.String tableName) |
Builder(Database db,
java.lang.String tableName) |
TableIterableBuilder(Database db) |