How to download/gunzip a file and obtain an InputStream of the actual file?
Domanda
I have a url of a gzipped file. I would like to obtain an InputStream of the actual file in Java. What is the best way to achieve this?
Soluzione
Do you mean, something like GZIPInputStream?
InputStream is = ....
InputStream gis = new GZIPInputStream(is);
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow