Class URIResource
java.lang.Object
net.thucydides.core.requirements.model.cucumber.URIResource
- All Implemented Interfaces:
io.cucumber.core.resource.Resource
public class URIResource
extends java.lang.Object
implements io.cucumber.core.resource.Resource
-
Constructor Summary
Constructors Constructor Description URIResource(java.nio.file.Path resource) -
Method Summary
Modifier and Type Method Description java.io.InputStreamgetInputStream()java.net.URIgetUri()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
URIResource
public URIResource(java.nio.file.Path resource)
-
-
Method Details
-
getUri
public java.net.URI getUri()- Specified by:
getUriin interfaceio.cucumber.core.resource.Resource
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException- Specified by:
getInputStreamin interfaceio.cucumber.core.resource.Resource- Throws:
java.io.IOException
-