public abstract class AbstractFileFilter extends Object implements IOFileFilter
Note that a subclass must override one of the accept methods, otherwise your class will infinitely loop.
| 构造器和说明 |
|---|
AbstractFileFilter() |
public boolean accept(File file)
accept 在接口中 FileFilteraccept 在接口中 IOFileFilterfile - the File to checkpublic boolean accept(File dir, String name)
accept 在接口中 FilenameFilteraccept 在接口中 IOFileFilterdir - the directory File to checkname - the filename within the directory to check