文件整理

This commit is contained in:
huangzhuanghua
2016-08-31 14:41:41 +08:00
parent d4498fb573
commit efc19441cd
219 changed files with 1738 additions and 1873 deletions

View File

@ -15,8 +15,7 @@ public class GzipUtils {
/*
* 数据压缩
*/
public static void compress(InputStream is, OutputStream os)
throws IOException {
public static void compress(InputStream is, OutputStream os) throws IOException {
GZIPOutputStream gos = null;
try {
gos = new GZIPOutputStream(os);
@ -38,8 +37,7 @@ public class GzipUtils {
/*
* 数据解压缩
*/
public static void decompress(InputStream is, OutputStream os)
throws IOException {
public static void decompress(InputStream is, OutputStream os) throws IOException {
GZIPInputStream gis = null;
try {
gis = new GZIPInputStream(is);
@ -112,4 +110,5 @@ public class GzipUtils {
}
}
}
}