cucumber.runtime.io.ClasspathResourceLoader Maven / Gradle / Ivy
package cucumber.runtime.io;
public class ClasspathResourceLoader implements ResourceLoader {
private final ClassLoader classLoader;
public ClasspathResourceLoader(ClassLoader classLoader) {
this.classLoader = classLoader;
}
@Override
public Iterable resources(String path, String suffix) {
return new ClasspathIterable(classLoader, path, suffix);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy