Class Utils


  • public class Utils
    extends Object
    Author:
    Luca Frosini (ISTI - CNR)
    • Field Detail

      • DATETIME_PATTERN

        public static final String DATETIME_PATTERN
        DateTime Pattern to be used to serialize Dates
        See Also:
        Constant Field Values
      • objectMapper

        protected static org.gcube.com.fasterxml.jackson.databind.ObjectMapper objectMapper
    • Constructor Detail

      • Utils

        public Utils()
    • Method Detail

      • getDateAsString

        public static String getDateAsString​(Date date)
      • getObjectMapper

        public static org.gcube.com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
      • merge

        public static org.gcube.com.fasterxml.jackson.databind.JsonNode merge​(org.gcube.com.fasterxml.jackson.databind.JsonNode node1,
                                                                              org.gcube.com.fasterxml.jackson.databind.JsonNode node2)