final File tmpTo = File.createTempFile("jarjar", ".jar");
JarOutputStream out = new JarOutputStream(new FileOutputStream(tmpTo));
Set<String> entries = new HashSet<String>();
try {
EntryStruct struct = new EntryStruct();
Enumeration<JarEntry> e = in.entries();
while (e.hasMoreElements()) {
JarEntry entry = e.nextElement();
struct.name = entry.getName();
struct.time = entry.getTime();
ByteArrayOutputStream baos = new ByteArrayOutputStream();