Class FeatureParserWithCaching.ResourceAdapter
java.lang.Object
io.cucumber.junit.platform.engine.FeatureParserWithCaching.ResourceAdapter
- All Implemented Interfaces:
Resource
- Enclosing class:
FeatureParserWithCaching
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
resource
private final org.junit.platform.commons.io.Resource resource
-
-
Constructor Details
-
ResourceAdapter
ResourceAdapter(org.junit.platform.commons.io.Resource 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
-