Package io.cucumber.core.resource
Interface Resource
public interface Resource
Minimal representation of a resource e.g. a feature file.
-
Method Summary
-
Method Details
-
getUri
URI getUri()Returns a uri representing this resource.Resources on the classpath will have the form
classpath:com/example.feature
while resources on the file system will have the formfile:/path/to/example.feature
. Other resources will be represented by their exact uri.- Returns:
- a uri representing this resource
-
getInputStream
- Throws:
IOException
-