Class CouchDbClientAndroid

java.lang.Object
org.lightcouch.CouchDbClientBase
org.lightcouch.CouchDbClientAndroid

public class CouchDbClientAndroid extends CouchDbClientBase
Presents a client to CouchDB database server; targeted to run on Android platform.
Since:
0.1.0
Author:
Ahmed Yehia
See Also:
  • Constructor Details

    • CouchDbClientAndroid

      public CouchDbClientAndroid()
      Constructs a new client instance.
    • CouchDbClientAndroid

      public CouchDbClientAndroid(String configFileName)
      Constructs a new client instance.
      Parameters:
      configFileName - The configuration file
    • CouchDbClientAndroid

      public CouchDbClientAndroid(String dbName, boolean createDbIfNotExist, String protocol, String host, int port, String username, String password)
      Constructs a new client instance.
      Parameters:
      dbName - The database name.
      createDbIfNotExist - To create a new database if it does not already exist.
      protocol - The protocol to use (i.e http or https)
      host - The database host address
      port - The database listening port
      username - The Username credential
      password - The Password credential
    • CouchDbClientAndroid

      public CouchDbClientAndroid(CouchDbProperties properties)
      Constructs a new client instance.
      Parameters:
      properties - An object containing configuration properties.
  • Method Details

    • shutdown

      public void shutdown()