/** * Constructs a new instance of this class. * @param configFileName The configuration file name. */ public CouchDbClient(String configFileName) { super(new CouchDbConfig(configFileName)); }
/** * Constructs a new client instance. * @param configFileName The configuration file */ public CouchDbClientAndroid(String configFileName) { super(new CouchDbConfig(configFileName)); }
/** * Constructs a new client instance. * @param properties An object containing configuration properties. */ public CouchDbClientAndroid(CouchDbProperties properties) { super(new CouchDbConfig(properties)); }
/** * Constructs a new instance of this class. * @param properties An object containing configuration properties. * @see CouchDbProperties */ public CouchDbClient(CouchDbProperties properties) { super(new CouchDbConfig(properties)); }
CouchDbClientBase() { this(new CouchDbConfig()); }
/** * Constructs a new client instance. * @param dbName The database name. * @param createDbIfNotExist To create a new database if it does not already exist. * @param protocol The protocol to use (i.e http or https) * @param host The database host address * @param port The database listening port * @param username The Username credential * @param password The Password credential */ public CouchDbClientAndroid(String dbName, boolean createDbIfNotExist, String protocol, String host, int port, String username, String password) { super(new CouchDbConfig(new CouchDbProperties(dbName, createDbIfNotExist, protocol, host, port, username, password))); }
/** * Constructs a new instance of this class. * @param dbName The database name. * @param createDbIfNotExist To create a new database if it does not already exist. * @param protocol The protocol to use (i.e http or https) * @param host The database host address * @param port The database listening port * @param username The Username credential * @param password The Password credential */ public CouchDbClient(String dbName, boolean createDbIfNotExist, String protocol, String host, int port, String username, String password) { super(new CouchDbConfig(new CouchDbProperties(dbName, createDbIfNotExist, protocol, host, port, username, password))); }