java将gzip格式文件解压成为指定格式的文件
public static String uncompressGzip(String filePath,String ext) throws IOException{
InputStream input = new FileInputStream(filePath);
GZIPInputStream is = new GZIPInputStream(input);
byte [] buffer = new byte[1024] ;
in.
原创
2020-09-06 20:10:13 ·
232 阅读 ·
0 评论