public interface FileStatusAcceptor
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
FileStatusAcceptor.AcceptAllButSelf
Accept all entries except the base path.
|
static class |
FileStatusAcceptor.AcceptFilesOnly
Accept all entries except the base path.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
accept(org.apache.hadoop.fs.Path keyPath,
com.aliyun.oss.model.OSSObjectSummary summary)
Predicate to decide whether or not to accept a summary entry.
|
boolean |
accept(org.apache.hadoop.fs.Path keyPath,
String commonPrefix)
Predicate to decide whether or not to accept a prefix.
|
boolean accept(org.apache.hadoop.fs.Path keyPath,
com.aliyun.oss.model.OSSObjectSummary summary)
keyPath - qualified path to the entrysummary - summary entryboolean accept(org.apache.hadoop.fs.Path keyPath,
String commonPrefix)
keyPath - qualified path to the entrycommonPrefix - the prefixCopyright © 2021 Apache Software Foundation. All Rights Reserved.