Class Utility
- java.lang.Object
-
- org.gcube.informationsystem.utils.Utility
-
public class Utility extends Object
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Constructor Summary
Constructors Constructor Description Utility()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.gcube.com.fasterxml.jackson.databind.JsonNodegetJSONNode(String json)static UUIDgetUUIDFromJsonNode(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonNode)static UUIDgetUUIDFromJSONString(String json)
-
-
-
Method Detail
-
getUUIDFromJsonNode
public static UUID getUUIDFromJsonNode(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonNode)
-
getUUIDFromJSONString
public static UUID getUUIDFromJSONString(String json) throws org.gcube.com.fasterxml.jackson.core.JsonProcessingException, IOException
- Throws:
org.gcube.com.fasterxml.jackson.core.JsonProcessingExceptionIOException
-
getJSONNode
public static org.gcube.com.fasterxml.jackson.databind.JsonNode getJSONNode(String json) throws org.gcube.com.fasterxml.jackson.core.JsonProcessingException, IOException
- Throws:
org.gcube.com.fasterxml.jackson.core.JsonProcessingExceptionIOException
-
-