@Test public void wrapValue() throws Exception { final ConfigValueProperties map = new ConfigValueProperties("config", 1); map.load(new StringReader( "key=value\\wrap\n" + "key2=value\\\nwrap\n" + "#comment\f\t\n" + "#comment\n" + "\\key3=value\n")); assertEquals(1, map.get("key").getLineNumber()); assertEquals("valuewrap", map.get("key2").getValue()); assertEquals(2, map.get("key2").getLineNumber()); assertEquals(6, map.get("key3").getLineNumber()); }
public synchronized void load(Reader reader) throws IOException { load0(new LineReader(reader)); }
ConfigValueProperties extends HashMap<String, ConfigValue> { public synchronized void load(Reader reader) throws IOException { load0(new LineReader(reader)); } }
ConfigValueProperties extends HashMap<String, ConfigValue> { public synchronized void load(Reader reader) throws IOException { load0(new LineReader(reader)); } ConfigValueProperties(final String configSourceName, final int configSourceOrdinal); }
ConfigValueProperties extends HashMap<String, ConfigValue> { public synchronized void load(Reader reader) throws IOException { load0(new LineReader(reader)); } ConfigValueProperties(final String configSourceName, final int configSourceOrdinal); synchronized void load(Reader reader); synchronized void load(InputStream inStream); }
ConfigValueProperties extends HashMap<String, ConfigValue> { public synchronized void load(Reader reader) throws IOException { load0(new LineReader(reader)); } ConfigValueProperties(final String configSourceName, final int configSourceOrdinal); synchronized void load(Reader reader); synchronized void load(InputStream inStream);  }