Code example for FileFilter

Methods: accept

0
        this.filter = filter;
    } 
 
    @Override 
    public boolean accept(File file) {
        return !filter.accept(file);
    } 
 
} 
Connect your IDE to all the code out there  Get Codota for Java