// Determine current VO registries being used: map URL to display name
AstroCatConfig config = AstroCatConfig.getConfigFile();
Map<URI, String> map = new HashMap<URI, String>();
for (Catalog cat : config.getCatalogs()) {
if (cat instanceof VoCatalogDirectory) {
VoCatalogDirectory dir = (VoCatalogDirectory) cat;
URI uri = dir.getURL().toURI();
String name = dir.getName();
if (name == null) {
name = "";
}
map.put(uri, name);
set.add(uri);