| 
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.ObjectSQLite.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 - indicating SQLite errorprotected void finalize()
protected void finish()
               throws Exception
Exception - indicating SQLite errorprivate static void internal_init()
public int pagecount()
              throws Exception
Exception - indicating SQLite error
public int remaining()
              throws Exception
Exception - indicating SQLite error
public boolean step(int n)
             throws Exception
n - number of pages to backup
Exception - indicating SQLite error
  | 
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||