开发者

How to download/gunzip a file and obtain an InputStream of the actual file?

I have a url of a gzipped file. I would like to obtain an InputStream of the actual file in Java. What i开发者_开发技巧s the best way to achieve this?


Do you mean, something like GZIPInputStream?

InputStream is = ....
InputStream gis = new GZIPInputStream(is);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜