Collection < MetadataSource > function ( String arg0 ) { if ( ANY . equals ( arg0 ) ) { return importSources . values ( ) ; } else { if ( importSources . containsKey ( arg0 ) ) return Collections . singletonList ( importSources . get ( arg0 ) ) ; else return Collections . emptyList ( ) ; } }
utility method to find what import implementations match the imports uri . concode_field_sep Logger log concode_elem_sep String ANY concode_elem_sep HashMap<String,MetadataSource> importSources concode_field_sep int getNbRecords concode_elem_sep int getNbRecords concode_elem_sep Collection<String> getImportUrls concode_elem_sep Map<String,MetadataSource> getImportSources concode_elem_sep void setImportSources concode_elem_sep Collection<ImportRecord> getRecords concode_elem_sep Collection<ImportRecord> getRecords concode_elem_sep void destroy concode_elem_sep ImportRecord getRecord concode_elem_sep ImportRecord getRecord concode_elem_sep Collection<ImportRecord> findMatchingRecords concode_elem_sep Collection<ImportRecord> findMatchingRecords