Code example for ZipEntry

0
    Files.createParentDirs(file);
    CustomZipOutputStream out = ZipOutputStreams.newOutputStream(file);
    // Sun's java 6 runtime doesn't allow us to create a truly empty zip, but this should be enough 
    // to pass through dx/split-zip without any issue. 
    // ...and Sun's java 7 runtime doesn't let us use an empty string for the zip entry name. 
    out.putNextEntry(new ZipEntry("proguard_no_result"));
    out.close();
  } 
 
  @Override 
  public boolean equals(Object obj) {
    if (obj == null || !(obj instanceof ProGuardObfuscateStep)) {
      return false; 
    } 
    ProGuardObfuscateStep that = (ProGuardObfuscateStep) obj;
 
    return 
        Objects.equal(useAndroidProguardConfigWithOptimizations,
            that.useAndroidProguardConfigWithOptimizations) &&
        Objects.equal(additionalLibraryJarsForProguard,