package com.jn.langx.util.io.file.filter;

import java.io.File;

public class ExecutableFileFilter extends AbstractFileFilter {
    @Override
    public boolean accept(File file) {
        return file.canExecute();
    }

    @Override
    public boolean accept(File dir, String name) {
        return accept(new File(dir, name));
    }
}
