JavaPropertiesResource extends ResourceFilter { static String unescapePropKey(String str) { return unescape(str); } JavaPropertiesResource(Encoding enc, MessagePatternEscape msgPatEsc);  JavaPropertiesResource(); @Override LanguageBundle parse(InputStream inStream, FilterOptions options); @Override void write(OutputStream outStream, LanguageBundle languageBundle,
            FilterOptions options); @Override void merge(InputStream baseStream, OutputStream outStream, LanguageBundle languageBundle,
            FilterOptions options);  }
@Test public void testUnescapePropsKey() { for (String[] testCase : UNESC_TEST_CASES) { String instr = testCase[0]; String expected = testCase[1]; String unescapedKey = JavaPropertiesResource.unescapePropKey(instr); assertEquals("unescapePropKey(" + instr + ")", expected, unescapedKey); } }