import java.io.*; import java.util.zip.*; class LoeZip{ public static void main(String argumendid[]) throws Exception{ String failinimi="nimed.zip"; ZipInputStream zin=new ZipInputStream(new FileInputStream(failinimi)); ZipEntry ze=zin.getNextEntry(); while(ze!=null){ System.out.println("\nNimi: "+ze.getName()); int nr=zin.read(); while(nr!=-1){ System.out.print((char)nr); nr=zin.read(); } ze=zin.getNextEntry(); } } }