String protocol = url.getProtocol();
/* If the URL points to a disk directory */
if (protocol.equals(WFS.FILE_PROTOCOL) == true) {
return new FileWFS(url.getPath(), false);
}
else if (protocol.equals(WFS.JAR_PROTOCOL) == true) {
return new ArchiveWFS(url);
}
else {