GZIPInputStream reading line by line
问题 I have a file in .gz format. The java class for reading this file is GZIPInputStream. However, this class doesn\'t extend the BufferedReader class of java. As a result, I am not able to read the file line by line. I need something like this reader = new MyGZInputStream( some constructor of GZInputStream) reader.readLine()... I though of creating my class which extends the Reader or BufferedReader class of java and use GZIPInputStream as one of its variable. import java.io.BufferedReader;