this.driver = driver;
}
@Override
protected URLConnection openConnection(URL u) throws IOException {
Path path = Path.get(u.getFile());
if (path.isDir()) {
throw new IOException("Cannot open dir");
}
String file = driver.entries.get(path);
if (file == null) {
throw new IOException("Cannot open non existing dir " + path);