public class Backup
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
handle
Internal handle for the native SQLite API.
|
Constructor and Description |
---|
Backup() |
Modifier and Type | Method and Description |
---|---|
protected void |
_finalize() |
private int |
_pagecount() |
private int |
_remaining() |
private boolean |
_step(int n) |
void |
backup()
Perform the backup in one step.
|
protected void |
finalize()
Destructor for object.
|
protected void |
finish()
Finish a backup.
|
private static void |
internal_init()
Internal native initializer.
|
int |
pagecount()
Return the total number of pages in the backup source database.
|
int |
remaining()
Return number of remaining pages to be backed up.
|
boolean |
step(int n)
Perform a backup step.
|
public void backup() throws Exception
Exception
- indicating SQLite errorprotected void finalize()
finalize
in class java.lang.Object
protected void finish() throws Exception
Exception
- indicating SQLite errorprivate static void internal_init()
public int pagecount() throws Exception
Exception
- indicating SQLite errorpublic int remaining() throws Exception
Exception
- indicating SQLite errorContact: Christian Werner