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 ; }
Converts a collection of strings into a collection of URIs .