Class LocaliserErrorFactory

java.lang.Object
Localiser.algorithms.locErrors.json.LocaliserErrorFactory

public class LocaliserErrorFactory extends Object
  • Constructor Details

    • LocaliserErrorFactory

      public LocaliserErrorFactory()
  • Method Details

    • getErrorFromJsonString

      public static LocaliserError getErrorFromJsonString(String errorString)
      Take a JSON error string, identify teh correct type and unpack it into a LocaliserError object.
      Parameters:
      errorString - JSON error string
      Returns:
      LocaliserError of the appropriate type or null