Class MHTAlgorithmInfoJSON


public class MHTAlgorithmInfoJSON extends CTAlgorithmInfoLogging
Class for unpacking algorithm strings.
Author:
Jamie Macaulay
  • Field Details

  • Constructor Details

  • Method Details

    • writeJSONData

      public void writeJSONData(com.fasterxml.jackson.core.JsonGenerator jg, CTAlgorithmInfo algorithmInfo)
      Description copied from class: CTAlgorithmInfoLogging
      Write the algorithm info data - note that the algorithm type has already been added
      Specified by:
      writeJSONData in class CTAlgorithmInfoLogging
      Parameters:
      jg - - the JSON string generator.
      algorithmInfo - - the algorithm info.
    • createCTAlgorithmInfo

      public MHTAlgorithmInfo createCTAlgorithmInfo(String algorithmType, com.fasterxml.jackson.databind.JsonNode jTree)
      Description copied from class: CTAlgorithmInfoLogging
      Create the CTAlgorithmInfo from a JSON string.
      Specified by:
      createCTAlgorithmInfo in class CTAlgorithmInfoLogging
      Parameters:
      algorithmType - - the algorithm type from JSON string
      jTree - - the jTree.
      Returns:
      the CTAlgorithmInfo.