Code example for JarEntry

Methods: getSize

0
    public InputStream openStream() throws IOException {
        return jarFile.getInputStream(entry);
    } 
 
    public long getSize() { 
        final long size = entry.getSize();
        return size == -1 ? 0 : size;
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java