if (archive==null) {
logger.log(Level.SEVERE, "Cannot find an archive implementation for " + protocol);
throw new MalformedURLException("Protocol not supported : " + protocol);
}
archive.create(path);
return archive;
} catch (ComponentException e) {
logger.log(Level.SEVERE, "Cannot find an archive implementation for " + protocol, e);
throw new MalformedURLException("Protocol not supported : " + protocol);
}