@Test(expected = IllegalArgumentException.class) public void testLoadForInvalidFileFormat() { Props.load(Paths.get("tc-config.xml")); }
public static Properties load(String content) { return load(new StringReader(content)); }
Props { public static Properties load(String content) { return load(new StringReader(content)); } }
Props { public static Properties load(String content) { return load(new StringReader(content)); }  }
Props { public static Properties load(String content) { return load(new StringReader(content)); }  static Properties load(String content); @SuppressFBWarnings("NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE") static Properties load(Path propertiesFile); static Properties load(InputStream inputStream); static Properties load(Reader reader); static String toString(Properties properties); static String toString(Properties properties, String comment); static void store(Writer out, Properties properties, String comment); }
Props { public static Properties load(String content) { return load(new StringReader(content)); }  static Properties load(String content); @SuppressFBWarnings("NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE") static Properties load(Path propertiesFile); static Properties load(InputStream inputStream); static Properties load(Reader reader); static String toString(Properties properties); static String toString(Properties properties, String comment); static void store(Writer out, Properties properties, String comment); static final String EOL; }