public class MatchNameFileFilter extends LogicalFileFilter
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MatchNameFileFilter.MatchMode |
| 限定符和类型 | 字段和说明 |
|---|---|
private MatchNameFileFilter.MatchMode |
matchMode |
private String |
substr |
| 构造器和说明 |
|---|
MatchNameFileFilter(String substr,
MatchNameFileFilter.MatchMode matchMode) |
private final String substr
private final MatchNameFileFilter.MatchMode matchMode
public MatchNameFileFilter(String substr, MatchNameFileFilter.MatchMode matchMode)
public boolean accept(File file, String name)
accept 在接口中 FilenameFilteraccept 在类中 LogicalFileFilterCopyright © 2020. All rights reserved.