Example usage for java.io FileFilter interface-usage

List of usage examples for java.io FileFilter interface-usage

Introduction

In this page you can find the example usage for java.io FileFilter interface-usage.

Usage

From source file cross.io.misc.DefaultConfigurableFileFilter.java

/**
 * Filter matching Image and Text-File formats (configurable).
 *
 * @author Nils Hoffmann
 *
 */

From source file it.greenvulcano.util.file.RegExFileFilter.java

/**
 * Class implementing the <code>FileFilter</code> interface and implementing a
 * filter action based on:
 * <ul>
 * <li>a) a regexp pattern matching for the file name
 * <li>b) a file change occurred after the given timestamp

From source file org.sonar.plugins.delphi.utils.DirectoryFileFilter.java

/**
 * Class for directory filtering with File::listFiles()
 */
class DirectoryFileFilter implements FileFilter {

    @Override

From source file org.jpos.q2.Q2.java

/**
 * @author <a href="mailto:taherkordy@dpi2.dpi.net.ir">Alireza Taherkordi</a>
 * @author <a href="mailto:apr@cs.com.uy">Alejandro P. Revilla</a>
 * @author <a href="mailto:alwynschoeman@yahoo.com">Alwyn Schoeman</a>
 * @author <a href="mailto:vsalaman@vmantek.com">Victor Salaman</a>
 */

From source file org.apache.hadoop.gateway.services.topology.impl.DefaultTopologyService.java

public class DefaultTopologyService extends FileAlterationListenerAdaptor
        implements TopologyService, TopologyMonitor, TopologyProvider, FileFilter, FileAlterationListener {
    private static Auditor auditor = AuditServiceFactory.getAuditService().getAuditor(
            AuditConstants.DEFAULT_AUDITOR_NAME, AuditConstants.KNOX_SERVICE_NAME,
            AuditConstants.KNOX_COMPONENT_NAME);
    private static final List<String> SUPPORTED_TOPOLOGY_FILE_EXTENSIONS = new ArrayList<String>();

From source file retrieval.testvector.generator.TestVectorReading.java

class XMLFileFilter implements FileFilter {

    public boolean accept(File pathname) {
        if (pathname.getName().toLowerCase().endsWith(".xml")) {
            return true;
        } else {

From source file com.ALC.SC2BOAserver.util.DataLoader.java

class EntryFilter implements FileFilter {

    public boolean accept(File pathname) {
        return pathname.getName().startsWith("entry");
    }

From source file com.amazon.aws.samplecode.travellog.util.DataLoader.java

class EntryFilter implements FileFilter {

    public boolean accept(File pathname) {
        return pathname.getName().startsWith("entry");
    }

From source file sernet.verinice.rcp.IconSelectDialog.java

class IconFileFilter implements FileFilter {

    @Override
    public boolean accept(File file) {
        boolean accept = false;
        if (file != null && file.getName() != null) {

From source file org.fusesource.hudsonresults.SummarizeBuildResults.java

/**
 * Filter to select directories which contain desired results
 *
 * @author kearls
 *
 */