@Test public void baseUse() { ConfigGroup cg = config.getGroup("test"); System.out.println(cg.getString("test", "defval")); System.out.println(cg.getString("test1", "defval")); ConfigGroup cg2 = config.getGroup("test2"); System.out.println(cg2.getString("test", "defval")); System.out.println(cg2.getString("test1", "defval")); }
public void setConfig2(ConfigService s) { config2 = s.getGroup(ConfigTest.class.getName()); }