wro4j-core/src/main/java/ro/isdc/wro/util/RegexpProperties.java
public Properties load(final InputStream inputStream) throws IOException {
    Validate.notNull(inputStream);
    final String rawContent = IOUtils.toString(inputStream, CharEncoding.UTF_8);
    parseProperties(rawContent.replaceAll(REGEX_COMMENTS, ""));
    return this.properties;
  }
public Properties load(final InputStream inputStream) throws IOException {
    Validate.notNull(inputStream);
    final String rawContent = IOUtils.toString(inputStream, CharEncoding.UTF_8);
    parseProperties(rawContent.replaceAll(REGEX_COMMENTS, ""));
    return this.properties;
  }
public Properties load ( final InputStream inputStream ) throws IOException { Validate . notNull ( inputStream ) ; final String rawContent = IOUtils . toString ( inputStream , CharEncoding . UTF_8 ) ; parseProperties ( rawContent . replaceAll ( REGEX_COMMENTS , "" ) ) ; return this . properties ; }
Load the properties from the stream. The implementation will handle comments properly by removing them before
properties are loaded.

@param inputStream
@return {@link Properties} containing properties parsed from the stream.
@throws IOException
Load the properties from the stream . The implementation will handle comments properly by removing them before properties are loaded .