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

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

There is a newer version: 1.2.6
Show newest version
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