@Test public void testLoadSimple() { Properties props = new Properties() {{ setProperty("name", "bob"); setProperty("cheese", "cheddar"); setProperty("foobar", "<<null>>"); }}; ConfigNode node = PropertiesConfigNodeFactory.load(props); assertThat(node.valueOf(ConfigKey.parse("name"))).isEqualTo("bob"); assertThat(node.valueOf(ConfigKey.parse("cheese"))).isEqualTo("cheddar"); assertThat(node.valueOf(ConfigKey.parse("foobar"))).isNull(); }
public static ConfigNode load(Properties input) { ConfigNode config = new ConfigNode(); load(config, input); return config; }
PropertiesConfigNodeFactory { public static ConfigNode load(Properties input) { ConfigNode config = new ConfigNode(); load(config, input); return config; } }
PropertiesConfigNodeFactory { public static ConfigNode load(Properties input) { ConfigNode config = new ConfigNode(); load(config, input); return config; } private  PropertiesConfigNodeFactory(); }
PropertiesConfigNodeFactory { public static ConfigNode load(Properties input) { ConfigNode config = new ConfigNode(); load(config, input); return config; } private  PropertiesConfigNodeFactory(); static ConfigNode load(Properties input); }
PropertiesConfigNodeFactory { public static ConfigNode load(Properties input) { ConfigNode config = new ConfigNode(); load(config, input); return config; } private  PropertiesConfigNodeFactory(); static ConfigNode load(Properties input);  }