@Test public void testLoadWithoutPropertiesAndWithComments() throws Exception { String content = "" + "\n" + "# Test comment\t \n" + "#\tLine 2\r" + "#Line 3\\\r\n" + "\t \n" + "\n"; PropertyResolver propertyResolver = load(content); assertThat(propertyResolver).isNotNull(); assertThat(propertyResolver.getString("")).isNull(); assertThat(propertyResolver.getString("#")).isNull(); }
@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);  }