mirror of
https://gitee.com/wangkang/udf.git
synced 2026-10-29 17:55:11 +00:00
更新阿里云OSS文件列表查询接口
This commit is contained in:
-6
@@ -39,11 +39,6 @@ public class OssWarpper {
|
||||
*/
|
||||
private static final String MSG_2 = "未定义";
|
||||
|
||||
/**
|
||||
* SEPARATOR
|
||||
*/
|
||||
private static final String SEPARATOR = "/";
|
||||
|
||||
/**
|
||||
* MAX_KEYS
|
||||
*/
|
||||
@@ -96,7 +91,6 @@ public class OssWarpper {
|
||||
ObjectListing objectListing;
|
||||
do {
|
||||
objectListing = client.listObjects(new ListObjectsRequest(path.getBucketName())
|
||||
.withDelimiter(SEPARATOR)
|
||||
.withMarker(nextMarker)
|
||||
.withPrefix(keyPrefix)
|
||||
.withMaxKeys(MAX_KEYS)
|
||||
|
||||
Reference in New Issue
Block a user