문제

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?

도움이 되었습니까?

해결책

Do you mean, something like GZIPInputStream?

InputStream is = ....
InputStream gis = new GZIPInputStream(is);
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top