public void deleteDB(String dbName, String confirm) {
		assertNotEmpty(dbName, "dbName");
		if(!"delete database".equals(confirm))
			throw new IllegalArgumentException("Invalid confirm!");
		dbc.delete(buildUri(dbc.getBaseUri()).path(dbName).build());
	}
public void deleteDB ( String dbName , String confirm ) { assertNotEmpty ( dbName , "dbName" ) ; if ( ! "delete database" . equals ( confirm ) ) throw new IllegalArgumentException ( "Invalid confirm!" ) ; dbc . delete ( buildUri ( dbc . getBaseUri ( ) ) . path ( dbName ) . build ( ) ) ; }
Requests CouchDB deletes a database.
@param dbName The database name
@param confirm A confirmation string with the value: <tt>delete database</tt>