public static Map < String , String > loadBundle ( List < URL > sources , Encoding encoding , String newline ) throws IOException , SyntaxErrorException { Map < String , String > _result = new HashMap < String , String > ( ) ; for ( URL _source : sources ) { Map < String , String > _properties = loadProperties ( _source . openStream ( ) , encoding , newline ) ; _result . putAll ( _properties ) ; } return _result ; }
Load a collection of properties files into the same Map supports multiple lines values .