Package org.citrusframework.spi
Class Resources.UrlResource
java.lang.Object
org.citrusframework.spi.Resources.UrlResource
- All Implemented Interfaces:
Resource
- Enclosing class:
- Resources
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexists()Whether this resource exists.getFile()Return the file associated with this resource.Returns anInputStreamthat reads from the underlying resource.The location of the resource.
-
Constructor Details
-
UrlResource
-
-
Method Details
-
getLocation
Description copied from interface:ResourceThe location of the resource.- Specified by:
getLocationin interfaceResource
-
exists
public boolean exists()Description copied from interface:ResourceWhether this resource exists. -
getInputStream
Description copied from interface:ResourceReturns anInputStreamthat reads from the underlying resource. Each invocation must return a newInputStreaminstance.- Specified by:
getInputStreamin interfaceResource
-
getFile
Description copied from interface:ResourceReturn the file associated with this resource.
-