I want to check the size of future uncompressed files before doing the unzip. Can someone confirm that the library does not start by uncompressing file in memory to get its final uncompressed size?

My code:

```
import java.io.*;
import java.util.Enumeration;
import java.util.zip.ZipFile;
import java.util.zip.ZipEntry;

public class ZipGetMethod {
  public static void main(String[] args) {
    String file = "file.zip";
    try {
      ZipFile zipfile = new ZipFile(file);
      Enumeration e = zipfile.entries();
      while (e.hasMoreElements()) {
        ZipEntry zipentry = (ZipEntry) e.nextElement();
        String entryName = zipentry.getName();
        Date lastModify = new Date(zipentry.getTime());
        long uncomSize = zipentry.getSize();
        long comSize = zipentry.getCompressedSize();

    } catch (IOException ex) {
      System.out.println("IOException is : " + ex);
    }
  } 
}

```