Why ZipInputStream doesn't find files in it
<p>I want to read data in files into a Zip file in Java</p>

<pre><code>InputStream is = new FileInputStream("file.zip");
ZipInputStream zis = new ZipInputStream(is);
ZipEntry entry;
while ((entry = zis.getNextEntry()) != null) {
    Scanner scanner = new Scanner(zis);
}
</code></pre>

<p>But when I arrive to line:</p>

<pre><code>while((entry = zis.getNextEntry()) != null) {
</code></pre>

<p>It doesn't go into while loop
why can't access to files in it, and zis doesn't has and entry in itself?</p>
