List of usage examples for java.util.zip ZipEntry hashCode
public int hashCode()
From source file:Main.java
public static void main(String[] args) throws Exception { String zipname = "data.zip"; ZipFile zipFile = new ZipFile(zipname); Enumeration enumeration = zipFile.entries(); while (enumeration.hasMoreElements()) { ZipEntry zipEntry = (ZipEntry) enumeration.nextElement(); System.out.println(zipEntry.hashCode()); }//from www.j ava 2 s . c o m }
From source file:be.fedict.eid.dss.document.zip.ZIPDSSDocumentService.java
private String getResourceId(ZipEntry zipEntry) { return String.valueOf(zipEntry.hashCode()); }