Package SQLite

Class Backup

java.lang.Object
SQLite.Backup

public class Backup
extends Object
Class wrapping an SQLite backup object.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected long handle
    Internal handle for the native SQLite API.
  • Constructor Summary

    Constructors 
    Constructor Description
    Backup()  
  • Method Summary

    Modifier and Type Method Description
    protected void _finalize()  
    void backup()
    Perform the backup in one step.
    protected void finalize()
    Destructor for object.
    protected void finish()
    Finish a backup.
    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