2003-11-26 David Belanger <dbelan2@cs.mcgill.ca>
* java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
(ZipFile(File,int)): Likewise.
From-SVN: r73965
+2003-11-26 David Belanger <dbelan2@cs.mcgill.ca>
+
+ * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
+ (ZipFile(File,int)): Likewise.
+
2003-11-26 Stuart Ballard <stuart.ballard@corp.fast.net>
* java/util/HashMap.java (putAll): Use Iterator hasNext() method.
public ZipFile(File file) throws ZipException, IOException
{
this.raf = new RandomAccessFile(file, "r");
- this.name = file.getName();
+ this.name = file.getPath();
}
/**
("OPEN_DELETE mode not supported yet in java.util.zip.ZipFile");
}
this.raf = new RandomAccessFile(file, "r");
- this.name = file.getName();
+ this.name = file.getPath();
}
/**
}
/**
- * Returns the name of this zip file.
+ * Returns the (path) name of this zip file.
*/
public String getName()
{