Class Info |
|---|
public class ListObjectsResult extends HeaderResponse 枚举文件的请求结果。 |
Qualifier and Type | Method Name and Description |
|---|---|
List<String> | 获取待查询的文件列表。 |
List<String> | 获取待查询的目录列表。 |
String | 获取待查询的下一次起始位置。 |
String | 获取存储实例名称。 |
int | 获取单次列举最多返回的文件个数。 |
String | 获取文件的分组标识符。 |
boolean | 表明是否本次返回的结果列表被截断。 |
void | setFileList(List<String> filesList) 设置待查询的文件列表。 |
void | setDirList(List<String> dirsList) 设置待查询的目录列表。 |
void | setCommonPrefixes(List<String> commonPrefixes) 设置待查询的文件前缀。 |
void | setNextMarker(String nextMarker) 设置待查询的下一次起始位置。 |
void | setBucketName(String bucketName) 设置存储实例名称。 |
void | setPrefix(String prefix) 设置文件前缀。 |
void | setMaxKeys(String maxKeys) 设置单次列举最多返回的文件个数。 |
void | setDelimiter(String delimiter) 设置文件的分组标识符。 |
void | setTruncated(boolean truncated) 设置响应结果的标识。 |
Method |
|---|
public List<String> getFileList() 获取待查询的文件列表。 |
Return
Type | Description |
|---|---|
List<String> | 文件列表。 |
Method |
|---|
public List<String> getDirList() 获取待查询的目录列表。 |
Return
Type | Description |
|---|---|
List<String> | 目录列表。 |
Method |
|---|
public String getNextMarker() 获取待查询的下一次起始位置。 |
Return
Type | Description |
|---|---|
String | 查询的下一次起始位置。 |
Method |
|---|
public String getBucketName() 获取存储实例名称。 |
Return
Type | Description |
|---|---|
String | 存储实例名称。 |
Method |
|---|
public int getMaxKeys() 获取单次列举最多返回的文件个数。 |
Return
Type | Description |
|---|---|
int | 单次列举最多返回的文件个数。 |
Method |
|---|
public String getDelimiter() 获取文件的分组标识符。 |
Return
Type | Description |
|---|---|
String | 文件的分组标识符。 |
Method |
|---|
public boolean isTruncated() 表明是否本次返回的结果列表被截断。 |
Return
Type | Description |
|---|---|
String | 结果列表是否被截断的标志。
|
Method |
|---|
public void setFileList(List<String> filesList) 设置待查询的文件列表。 |
Parameters
Name | Description |
|---|---|
filesList | 文件列表。 |
Method |
|---|
public void setDirList(List<String> dirsList) 设置待查询的目录列表。 |
Parameters
Name | Description |
|---|---|
dirsList | 目录列表。 |
Method |
|---|
public void setCommonPrefixes(List<String> commonPrefixes) 设置待查询的文件前缀。 |
Parameters
Name | Description |
|---|---|
commonPrefixes | 查询的文件前缀。 |
Method |
|---|
public void setNextMarker(String nextMarker) 设置待查询的下一次起始位置。 |
Parameters
Name | Description |
|---|---|
nextMarker | 查询的下一次起始位置。 |
Method |
|---|
public void setBucketName(String bucketName) 设置存储实例名称。 |
Parameters
Name | Description |
|---|---|
bucketName | 存储实例名称。 |
Method |
|---|
public void setPrefix(String prefix) 设置文件前缀。 |
Parameters
Name | Description |
|---|---|
prefix | 文件前缀。 |
Method |
|---|
public void setMaxKeys(String maxKeys) 设置单次列举最多返回的文件个数。 |
Parameters
Name | Description |
|---|---|
maxKeys | 单次列举最多返回的文件个数。 |