public final class JFPDatabase extends Object
Modifier and Type | Method and Description |
---|---|
static JFPAllDatabaseType |
open(com.io7m.jlog.LogUsableType log,
File file)
Open a database, creating it if it does not exist.
|
static JFPAllDatabaseType |
openInMemory(com.io7m.jlog.LogUsableType log)
Open an in-memory database, creating it if it does not exist.
|
public static JFPAllDatabaseType open(com.io7m.jlog.LogUsableType log, File file) throws JFPExceptionDatabaseIncorrectVersion
log
- A log interfacefile
- The database fileJFPExceptionDatabaseIncorrectVersion
- On incorrect database versions.public static JFPAllDatabaseType openInMemory(com.io7m.jlog.LogUsableType log) throws JFPExceptionDatabaseIncorrectVersion
log
- A log interfaceJFPExceptionDatabaseIncorrectVersion
- On incorrect database versions.Copyright © 2015 <code@io7m.com> http://io7m.com