Example usage for org.apache.commons.io DirectoryWalker subclass-usage

List of usage examples for org.apache.commons.io DirectoryWalker subclass-usage

Introduction

In this page you can find the example usage for org.apache.commons.io DirectoryWalker subclass-usage.

Usage

From source file it.geosolutions.tools.io.file.CopyTree.java

/**
 * Copy a Tree recursively and asynchronously
 * 
 * @author Carlo Cancellieri - carlo.cancellieri@geo-solutions.it
 * 
 */

From source file ome.formats.importer.ImportCandidates.java

/**
 * Utility class which given any {@link File} object will determine the correct
 * number and members of a given import. This facility permits iterating over a
 * directory.
 *
 * This class is NOT thread-safe.

From source file org.jahia.utils.zip.FilteredDirectoryWalker.java

/**
 * Utility class for zipping a directory tree content considering path
 * inclusion/exclusion filters. Exclusing always takes precedence over
 * inclusion.
 * 
 * @author Sergiy Shyrkov

From source file com.thoughtworks.go.server.service.BackupService.java

class DirectoryStructureWalker extends DirectoryWalker {
    private final String configDirectory;
    private final ZipOutputStream zipStream;
    private final ArrayList<String> excludeFiles;

    public DirectoryStructureWalker(String configDirectory, ZipOutputStream zipStream, File... excludeFiles) {

From source file org.callistasoftware.maven.plugins.propertyscanner.MyDirectoryWalker.java

public class MyDirectoryWalker extends DirectoryWalker<File> {
    public MyDirectoryWalker(IOFileFilter fileFilter) {
        super(HiddenFileFilter.VISIBLE, fileFilter, -1);

    }

From source file org.eclipse.orion.internal.server.search.FileGrepper.java

/**
 * A grep style search that walks the directories looking for files that contain occurrences of a search string.
 * 
 * @author Aidan Redpath
 * @author Anthony Hunter
 */

From source file org.eclipse.orion.internal.server.search.grep.FileGrepper.java

/**
 * @author Aidan Redpath
 */
public class FileGrepper extends DirectoryWalker<GrepResult> {
    private Pattern pattern;
    private Matcher matcher;

From source file org.eclipse.orion.internal.server.servlets.workspace.FileListDirectoryWalker.java

/**
 * Handles the creation of the file list for a users workspace. See Bugzilla 453114.
 * 
 * @author Anthony Hunter
 *
 */

From source file org.forgerock.doc.maven.FilteredFileUpdater.java

/**
 * Update matching files in all directories, replacing the first occurrence of
 * the string to replace with the replacement string. Files are expected to be
 * UTF-8 encoded.
 */
public class FilteredFileUpdater extends DirectoryWalker<File> {

From source file org.forgerock.doc.maven.FilteredRecursiveFileCopier.java

/**
 * Copy a file to all directories holding matching files, creating a parent
 * directory into which to copy the file.
 */
public class FilteredRecursiveFileCopier extends DirectoryWalker<File> {
    /**