### Question:
VarProperties extends Properties { public VarProperties(Properties defaults) { super(defaults); } VarProperties(Properties defaults);  VarProperties(); synchronized void load(Reader reader); synchronized void load(InputStream inStream); synchronized void load(String file); synchronized void load(File file); @Override synchronized Object put(Object key, Object value); static final Pattern P_VAR; }### Answer:
@Test public void testVarProperties() throws Exception { System.setProperty("app.home", "/home/dzh"); VarProperties var = new VarProperties(System.getProperties()); var.load(TestVarProperties.class.getResourceAsStream("/config.properties")); LOG.info(var.toString()); }