Package io.cucumber.core.resource
Class Resources.UriResource
java.lang.Object
io.cucumber.core.resource.Resources.UriResource
- All Implemented Interfaces:
Resource
- Enclosing class:
Resources
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
resource
-
-
Constructor Details
-
UriResource
UriResource(Path resource)
-
-
Method Details
-
getUri
Description copied from interface:ResourceReturns a uri representing this resource.Resources on the classpath will have the form
classpath:com/example.featurewhile resources on the file system will have the formfile:/path/to/example.feature. Other resources will be represented by their exact uri. -
getInputStream
- Specified by:
getInputStreamin interfaceResource- Throws:
IOException
-