Package org.citrusframework.spi
Class Resources
java.lang.Object
org.citrusframework.spi.Resources
Helps with resources of type classpath or file system.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classResource with given byte array content.static classResource loaded from classpath.static classResource on the file system.static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Resourcecreate(byte[] content) static Resourcestatic Resourcestatic Resourcestatic Resourcestatic ResourcefromClasspath(String filePath) static ResourcefromClasspath(String filePath, Class<?> contextClass) static ResourcefromFileSystem(String filePath)
-
Field Details
-
CLASSPATH_RESOURCE_PREFIX
- See Also:
-
FILESYSTEM_RESOURCE_PREFIX
- See Also:
-
JAR_RESOURCE_PREFIX
- See Also:
-
HTTP_RESOURCE_PREFIX
- See Also:
-
-
Constructor Details
-
Resources
public Resources()
-
-
Method Details
-
create
-
create
-
create
-
create
-
create
-
fromClasspath
-
fromClasspath
-
fromFileSystem
-