Code example for ZipInputStream

0
import java.io.IOException; 
import java.util.zip.ZipInputStream; 
 
public class ZipInputStreamFactory { 
    public GpxZipInputStream create(String filename) throws IOException { 
        return new GpxZipInputStream(new ZipInputStream(new BufferedInputStream( 
                new FileInputStream(filename)))); 
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java