code: public void setResources(Resource[] resources) throws IOException {
          clear();
          
          for (Resource resource : resources) {
              addResource(resource);
          }
      }
docs: Initializes the properties from a multiple resources.
  
  @param resources Sources of properties.
  @throws IOException IO exception.