@Test public void testLoadListProperties() throws Exception { String content = "" + "vegetables=potato,squash,carrot,beat\n" + "fruits apple, banana\t, pear, \\\n" + " cantaloupe, \twatermelon, \\\r\n" + " kiwi , mango"; PropertyResolver propertyResolver = load(content); assertThat(propertyResolver.getStringList("vegetables")).isNotNull().hasSize(4). containsExactly("potato", "squash", "carrot", "beat"); assertThat(propertyResolver.getStringList("fruits")).isNotNull().hasSize(7). containsExactly("apple", "banana", "pear", "cantaloupe", "watermelon", "kiwi", "mango"); }
@Override public PropertyResolver load(InputStream inputStream) throws IOException { MatchingReader reader = new MatchingReader(new BufferedReader(new InputStreamReader(inputStream))); return load(reader); }
PropertiesLocalizationLoader implements LocalizationLoader { @Override public PropertyResolver load(InputStream inputStream) throws IOException { MatchingReader reader = new MatchingReader(new BufferedReader(new InputStreamReader(inputStream))); return load(reader); } }
PropertiesLocalizationLoader implements LocalizationLoader { @Override public PropertyResolver load(InputStream inputStream) throws IOException { MatchingReader reader = new MatchingReader(new BufferedReader(new InputStreamReader(inputStream))); return load(reader); }  }
PropertiesLocalizationLoader implements LocalizationLoader { @Override public PropertyResolver load(InputStream inputStream) throws IOException { MatchingReader reader = new MatchingReader(new BufferedReader(new InputStreamReader(inputStream))); return load(reader); }  @Override PropertyResolver load(InputStream inputStream); }
PropertiesLocalizationLoader implements LocalizationLoader { @Override public PropertyResolver load(InputStream inputStream) throws IOException { MatchingReader reader = new MatchingReader(new BufferedReader(new InputStreamReader(inputStream))); return load(reader); }  @Override PropertyResolver load(InputStream inputStream);  }