Class CouchbaseLite


  • public final class CouchbaseLite
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void init()
      Initialize CouchbaseLite library.
      static void init​(boolean debug)
      Initialize CouchbaseLite library.
      static void init​(boolean debug, java.io.File rootDbDir, java.io.File scratchDir)
      Initialize CouchbaseLite library.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • init

        public static void init()
        Initialize CouchbaseLite library. This method MUST be called before using CouchbaseLite.
      • init

        public static void init​(boolean debug)
        Initialize CouchbaseLite library. This method MUST be called before using CouchbaseLite.
      • init

        public static void init​(boolean debug,
                                @NonNull
                                java.io.File rootDbDir,
                                @NonNull
                                java.io.File scratchDir)
        Initialize CouchbaseLite library. This method allows specifying a root directory for CBL files.
        Parameters:
        debug - true if debugging
        rootDbDir - default directory for databases
        scratchDir - scratch directory for SQLite