Example usage for org.apache.commons.vfs2 FileSelector interface-usage

List of usage examples for org.apache.commons.vfs2 FileSelector interface-usage

Introduction

In this page you can find the example usage for org.apache.commons.vfs2 FileSelector interface-usage.

Usage

From source file org.freedesktop.util.ExtensionSelector.java

public final class ExtensionSelector implements FileSelector {

    private String extension;

    public ExtensionSelector(String extension) {
        this.extension = "." + extension.toLowerCase();

From source file org.aludratest.service.file.impl.FilePathSelector.java

/**
 * Implementation of the commons-vfs {@link FileSelector} interface.
 * for selecting a file with a given name.
 * @author Volker Bergmann
 */
public class FilePathSelector implements FileSelector {

From source file com.intridea.io.vfs.provider.s3.DepthFileSelector.java

/**
 * A file selector that operates depth of the directory structure and will
 * select all files up to and including the depth given in the constructor.
 *
 * @author Matthias L. Jugel
 */

From source file com.gs.obevo.util.vfs.BasicFileSelector.java

public class BasicFileSelector implements FileSelector {
    private final FileFilter fileFilter;
    private final FileFilter directoryFilter;
    private final boolean traverseDescendents;

    public BasicFileSelector(FileFilter fileFilter) {

From source file com.streamsets.pipeline.stage.origin.remote.FileFilter.java

class FileFilter implements RemoteResourceFilter, FileSelector {

    private static final Logger LOG = LoggerFactory.getLogger(FileFilter.class);

    protected final Pattern regex;

From source file de.innovationgate.wgpublisher.design.sync.DesignFileValidator.java

public class DesignFileValidator extends PatternListVerifier implements FileSelector {

    public static final int DEFAULT_POLLING_INTERVAL = 1;

    public DesignFileValidator(de.innovationgate.wga.config.DesignConfiguration config, WGACore core) {
        Iterator<String> fileExclusions = config.getFileExclusions().iterator();