- 所有已实现的接口:
Filter
A file filter based on its suffix
-
-
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
SuffixFilter
public SuffixFilter(String suffixFilter)
- 参数:
suffixFilter - the suffix which will be matched for every file, must not be null
-
方法详细资料
-
filter
public boolean filter(File file)
- 指定者:
filter 在接口中 Filter
- 参数:
file - the file to filter
- 返回:
true if the file ends with the specified suffix, otherwise false