757677787980818283
URL url = new URL(client.getUrl(), dbName+"/"); return getDb(client, url); } public CouchDb getDb(CouchClient client, URL dbUrl) throws Exception { CouchDbImpl couchDb = new CouchDbImpl(client, dbUrl); return couchDb; }
838485868788899091
909192939495969798
return couchDb; } public CouchDb getDb(CouchContext context, CouchDb clonedDb) throws Exception { CouchClient client = getClient(context, clonedDb.getClient()); CouchDbImpl couchDb = new CouchDbImpl(client, clonedDb.getUrl()); return couchDb; }