mirror of
https://gitee.com/wangkang/udf.git
synced 2026-10-25 13:05:12 +00:00
将被下载的文件,上传阿里云OSS的时候进行压缩,节省空间和流量
This commit is contained in:
+3
-1
@@ -6,6 +6,8 @@
|
||||
*/
|
||||
package org.itkk.udf.file.aliyun.oss.api.download;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* 描述 : DownConstant
|
||||
*
|
||||
@@ -76,7 +78,7 @@ public class DownConstant {
|
||||
* @return String
|
||||
*/
|
||||
public static String tempdir() {
|
||||
return System.getProperty("java.io.tmpdir");
|
||||
return System.getProperty("java.io.tmpdir") + File.separator;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user