Methods Summary |
---|
public boolean | equals(java.lang.Object obj)
if(obj instanceof ZipEntryFileProxy) {
ZipEntryFileProxy zo = (ZipEntryFileProxy)obj;
if(zo.getAbsolutePath().equals(getAbsolutePath())) {
return true;
}
}
return false;
|
public boolean | exists() return true;
|
public java.io.File | getAbsoluteFile() return this;
|
public java.lang.String | getAbsolutePath() return path;
|
public java.io.File | getCanonicalFile() return this;
|
public java.io.InputStream | getInputStream()
return zipfile.getInputStream(entry);
|
public java.lang.String | getName() return name;
|
public java.io.File | getParentFile() return parent;
|
public java.lang.String | getPath() return path;
|
public int | hashCode()
return name.hashCode() ^ 1234321;
|
public boolean | isAbsolute() return true;
|
public boolean | isDirectory() return entry.isDirectory();
|
public java.io.File[] | listFiles()
Map children = (Map)zip.hash.get(path);
File[] files = new File[children.size()];
Iterator it = children.keySet().iterator();
int count = 0;
while(it.hasNext()) {
String name = (String)it.next();
files[count] = new ZipEntryFileProxy(zip, zipfile, name,this);
count++;
}
return files;
|