Code example for ZipEntry

Methods: getName

0
        this.jarEntry = jarEntry;
    } 
 
    @Override 
    public String getPath() {
        return jarEntry.getName();
    } 
 
    @Override 
    public String getAbsolutePath() {
        return jarFile.getName() + "!/" + getPath();
    } 
 
    @Override 
    public InputStream getInputStream() throws IOException {
        return jarFile.getInputStream(jarEntry);
    } 
 
    @Override 
    public String getClassName(String extension) {