|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SQLite.Backup
public class Backup
Class wrapping an SQLite backup object.
Field Summary | |
---|---|
protected long |
handle
Internal handle for the native SQLite API. |
Constructor Summary | |
---|---|
Backup()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected long handle
Constructor Detail |
---|
public Backup()
Method Detail |
---|
protected void _finalize() throws Exception
Exception
private int _pagecount() throws Exception
Exception
private int _remaining() throws Exception
Exception
private boolean _step(int n) throws Exception
Exception
public void backup() throws Exception
Exception
protected void finalize()
finalize
in class java.lang.Object
protected void finish() throws Exception
Exception
private static void internal_init()
public int pagecount() throws Exception
Exception
public int remaining() throws Exception
Exception
public boolean step(int n) throws Exception
n
- number of pages to backup
Exception
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |