String filename = url.getFile();
if (filename.endsWith("gtkrc")) {
return new GtkSkin(url, getInputStream(url));
} else if (filename.endsWith(".themerc")) {
return new KdeSkin(url, getInputStream(url));
} else {
throw new Exception(
"Unable to load this skin "
+ url
+ " (by using filename matching), "