}
if ("file".equals(protocol)
&& (filename.endsWith(".table") || filename.endsWith(".scat") || filename.endsWith(".cat"))) {
// skycat local catalog file?
SkycatTable table = new SkycatTable(filename);
return makeCatalogComponent(table.getCatalog());
}
// XXX some servers return text/html even for FITS images
if (contentType.startsWith("text/")) {
return super.makeURLComponent(url, contentType, format);