Code example for JarEntry

Methods: getName

0
    @Override 
    public String getEntryName() {
        if (entry == null) {
            return null; 
        } else { 
            return entry.getName();
        } 
    } 
 
    @Override 
    public InputStream getEntryInputStream() throws IOException {
        return jarInputStream;
    } 
 
    @Override 
    public void reset() throws IOException { 
        close(); 
        jarInputStream = createJarInputStream();
    } 
}