Package org.mule.munit.tools.util
Class MunitResource
java.lang.Object
org.mule.munit.tools.util.MunitResource
This is the class returned by the GetResourceFunction. It has a path that points to the resource wanted, and it has a couple of methods that can convert its content into String, InputStream or byte array
- Since:
- 3.3.2
- Author:
- Mulesoft Inc.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MunitResource
-
-
Method Details
-
asStream
-
asString
-
asByteArray
public byte[] asByteArray() -
asReusableStream
-