Code example for FileFilter

Methods: accept

0
            if(pathname.isHidden()) {
                return false; 
            } 
             
            if(delegate != null) {
                return delegate.accept(pathname);
            } else { 
                return true; 
            } 
        } 
    } 
}