Package io.serverlessworkflow.api.utils
Class Utils
- java.lang.Object
-
- io.serverlessworkflow.api.utils.Utils
-
public class Utils extends Object
-
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.JsonNode
getNode(String source)
static com.fasterxml.jackson.databind.ObjectMapper
getObjectMapper(String source)
static String
getResourceFileAsString(String fileName)
-
-
-
Method Detail
-
getResourceFileAsString
public static String getResourceFileAsString(String fileName) throws IOException
- Throws:
IOException
-
getObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper(String source)
-
getNode
public static com.fasterxml.jackson.databind.JsonNode getNode(String source) throws com.fasterxml.jackson.core.JsonProcessingException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-