实现抽象类:FileFilter,有两个方法accept(File f)   getDescription()
去看看文档吧