Reputation: 163
Is there a way to get entry from GZIPInputStream ? For .zip files I am using the following:
ZipInputStream zis = new ZipInputStream((InputStream) inputStream);
ZipEntry entry = zis.getNextEntry();
But i want to exclude the entry inside file with .xml.gz extension. Or is there a way to extract the data inside .xml.gz file as String ?
Upvotes: 4
Views: 1270