Package org.mule.munit.tools.util
Class GetResourceFunctions
java.lang.Object
org.mule.munit.tools.util.GetResourceFunctions
Utility functions to handle resources
- Since:
- 2.0.0
- Author:
- Mulesoft Inc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]getResourceAsByteArray(String path) static InputStreamstatic InputStreamgetResourceAsStream(String path) static StringgetResourceAsString(String path, String encoding)
-
Constructor Details
-
GetResourceFunctions
public GetResourceFunctions()
-
-
Method Details
-
getResourceAsByteArray
-
getResourceAsString
-
getResourceAsStream
-
getResourceAsReusableStream
-