code: public static Collection<URI> stringCollectionAsURIs(
                                    Collection<String> names) {
      Collection<URI> uris = new ArrayList<URI>(names.size());
      for(String name : names) {
        try {
          uris.add(stringAsURI(name));
        } catch (IOException e) {
          LOG.error("Error while processing URI: " + name, e);
        }
      }
      return uris;
    }
docs: Converts a collection of strings into a collection of URIs.
  @param names collection of strings to convert to URIs
  @return collection of URIs