code: private static byte[] doUnpackEntry(ZipFile zf, String name) throws IOException {
      ZipEntry ze = zf.getEntry(name);
      if (ze == null) {
        return null; // entry not found
      }
  
      InputStream is = zf.getInputStream(ze);
      try {
        return IOUtils.toByteArray(is);
      }
      finally {
        IOUtils.closeQuietly(is);
      }
    }
docs: Unpacks a single entry from a ZIP file.
  
  @param zf
  ZIP file.
  @param name
  entry name.
  @return contents of the entry or <code>null</code> if it was not found.