All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cucumber.runtime.io.FileResourceIterable Maven / Gradle / Ivy

package cucumber.runtime.io;

import java.io.File;
import java.util.Iterator;

public class FileResourceIterable implements Iterable {
    private final File root;
    private final File file;
    private final String suffix;

    public FileResourceIterable(File root, File file, String suffix) {
        this.root = root;
        this.file = file;
        this.suffix = suffix;
    }

    @Override
    public Iterator iterator() {
        return new FileResourceIterator(root, file, suffix);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy