Here you can find the source of loadRQGProperties()
public static void loadRQGProperties()
//package com.java2s; //License from project: Apache License import java.io.InputStream; import java.util.*; public class Main { public static Properties environment = new Properties(); public static Properties rqg_environment = new Properties(); public static boolean isRQGEnabled = false; public static void loadRQGProperties() { isRQGEnabled = true;/*from w w w . jav a 2s . com*/ String propertPath = getRQGConfig(); rqg_environment = new Properties(); InputStream stream = null; if (propertPath == null) { propertPath = "rqg_config.properties"; } if (propertPath != null) { stream = ClassLoader.getSystemClassLoader().getResourceAsStream(propertPath); } try { if (stream != null) { rqg_environment.load(stream); System.out.print(rqg_environment.toString()); } } catch (Exception ex) { ex.printStackTrace(System.err); } } public static String getRQGConfig() { return environment.getProperty("couchbasedb.test.rqg_config", "do_not_use"); } }