Package | Description |
---|---|
com.healthmarketscience.jackcess | |
com.healthmarketscience.jackcess.impl | |
com.healthmarketscience.jackcess.util |
Modifier and Type | Method and Description |
---|---|
Database.FileFormat |
Database.getFileFormat()
Returns the FileFormat of this database (which may involve inspecting the
database itself).
|
static Database.FileFormat |
Database.FileFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Database.FileFormat[] |
Database.FileFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Database |
DatabaseBuilder.create(Database.FileFormat fileFormat,
File mdbFile)
Create a new Database for the given fileFormat
|
static DataType |
DataType.fromSQLType(int sqlType,
int lengthInUnits,
Database.FileFormat fileFormat) |
DatabaseBuilder |
DatabaseBuilder.setFileFormat(Database.FileFormat fileFormat)
Sets the version of new database (
DatabaseBuilder.create() only). |
ColumnBuilder |
ColumnBuilder.setSQLType(int type,
int lengthInUnits,
Database.FileFormat fileFormat)
Sets the type for the new column based on the given SQL type, target
data length (in type specific units), and target FileFormat.
|
Modifier and Type | Method and Description |
---|---|
Database.FileFormat |
DatabaseImpl.getFileFormat() |
Modifier and Type | Method and Description |
---|---|
protected abstract Map<String,Database.FileFormat> |
JetFormat.getPossibleFileFormats() |
Modifier and Type | Method and Description |
---|---|
static DatabaseImpl |
DatabaseImpl.create(Database.FileFormat fileFormat,
File mdbFile,
FileChannel channel,
boolean autoSync,
Charset charset,
TimeZone timeZone)
Create a new Database for the given fileFormat
|
static DatabaseImpl.FileFormatDetails |
DatabaseImpl.getFileFormatDetails(Database.FileFormat fileFormat) |
Constructor and Description |
---|
DatabaseImpl(File file,
FileChannel channel,
boolean closeChannel,
boolean autoSync,
Database.FileFormat fileFormat,
Charset charset,
TimeZone timeZone,
CodecProvider provider)
Create a new database by reading it in from a FileChannel.
|
Modifier and Type | Field and Description |
---|---|
static Database.FileFormat |
CustomLinkResolver.DEFAULT_FORMAT
the default file format used for temp dbs
|
Modifier and Type | Method and Description |
---|---|
protected Database.FileFormat |
CustomLinkResolver.getDefaultFormat() |
Modifier and Type | Method and Description |
---|---|
protected Database |
CustomLinkResolver.createTempDb(Object customFile,
Database.FileFormat format,
boolean inMemory,
File tempDir)
Creates a temporary database for holding the table data from
linkeeFileName.
|
Constructor and Description |
---|
CustomLinkResolver(Database.FileFormat defaultFormat,
boolean defaultInMemory,
File defaultTempDir)
Creates a CustomLinkResolver with the given default behavior for creating
temp dbs.
|
Copyright © 2005–2018. All rights reserved.