Package org.citrusframework.spi
Class CitrusResourceWrapper
java.lang.Object
org.citrusframework.spi.CitrusResourceWrapper
- All Implemented Interfaces:
org.citrusframework.spi.Resource
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSpring bean converter implementation able to convert from Spring resource to Citrus resource implementation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexists()static CitrusResourceWrapperfrom(org.springframework.core.io.Resource resource) getFile()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.spi.Resource
getReader, getReader, getURI, getURL
-
Constructor Details
-
CitrusResourceWrapper
public CitrusResourceWrapper(org.springframework.core.io.Resource delegate)
-
-
Method Details
-
from
-
getLocation
- Specified by:
getLocationin interfaceorg.citrusframework.spi.Resource
-
exists
public boolean exists()- Specified by:
existsin interfaceorg.citrusframework.spi.Resource
-
getInputStream
- Specified by:
getInputStreamin interfaceorg.citrusframework.spi.Resource
-
getFile
- Specified by:
getFilein interfaceorg.citrusframework.spi.Resource
-