@Test public void asProperties() throws IOException { Properties props = ResourceUtils.asProperties(PROP_FILE_PATH); assertNotNull(props); assertEquals(props.size(), 1); assertEquals(props.get("name"), "esbench"); }
public static Properties asProperties(String location) throws IOException { Resource resource = asResource(location); return PropertiesLoaderUtils.loadProperties(resource); }
ResourceUtils { public static Properties asProperties(String location) throws IOException { Resource resource = asResource(location); return PropertiesLoaderUtils.loadProperties(resource); } }
ResourceUtils { public static Properties asProperties(String location) throws IOException { Resource resource = asResource(location); return PropertiesLoaderUtils.loadProperties(resource); } private  ResourceUtils(); }
ResourceUtils { public static Properties asProperties(String location) throws IOException { Resource resource = asResource(location); return PropertiesLoaderUtils.loadProperties(resource); } private  ResourceUtils(); static InputStream asInputStream(String location); static Properties asProperties(String location); static String asString(String location, Charset encoding); static String asString(String location); static Resource asResource(String location); }
ResourceUtils { public static Properties asProperties(String location) throws IOException { Resource resource = asResource(location); return PropertiesLoaderUtils.loadProperties(resource); } private  ResourceUtils(); static InputStream asInputStream(String location); static Properties asProperties(String location); static String asString(String location, Charset encoding); static String asString(String location); static Resource asResource(String location);  }