Code example for ZipEntry

0
	public void store(String internalName, byte[] data) throws IOException {
		String out = internalName + ".class";
		 
		//System.out.println("# "+out); 
		 
		ZipEntry ze = new ZipEntry(out);
		jo.putNextEntry(ze);
		jo.write(data);
		jo.closeEntry();
	} 
 
} 
Connect your IDE to all the code out there  Get Codota for Java