Code example for ZipEntry

0
    return pathParts; 
  } 
 
  @Override 
  public InputStream openContents() throws IOException { 
    return classPathEntry.getZipFile().getInputStream(new ZipEntry(path)); 
  } 
 
  @Override 
  public boolean wasRerooted() { 
    return false; 
  } 
}