public long getLength ( String path ) { try { ZipEntry entry = getZipEntry ( path ) ; long length = entry != null ? entry . getSize ( ) : - 1 ; return length ; } catch ( IOException e ) { log . log ( Level . FINE , e . toString ( ) , e ) ; return - 1 ; } }
Returns the length of the entry in the jar file .