/** * Return an array of DataSources that correspond to the ids in the metadata. * * @param graph - ondex graph * @param strIds - collection of ids * @return */ public static DataSource[] convertDataSources(final ONDEXGraph graph, final Collection<String> strIds) { return convertDataSources(graph, strIds.toArray(new String[strIds.size()])); }