cucumber.io.FileResourceIterable Maven / Gradle / Ivy
package cucumber.io;
import java.io.File;
import java.util.Iterator;
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