Class ClassifierJSONLogging
java.lang.Object
generalDatabase.JsonConverter
clickTrainDetector.classification.ClassifierJSONLogging
- Direct Known Subclasses:
SimpleClassifierJSONLogging
String logging for classifier for the click train detector.
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract CTClassification
createClassification
(String jsonString) Get the CT classification from a stringabstract String
getJsonString
(CTClassification classification) Create a standard xml like string of the error data which can be written to the relational database.Methods inherited from class generalDatabase.JsonConverter
getJSONElement, getJSONElement, quickJsonString, unpackJsonArray, writeJsonArray, writeJsonValue
-
Constructor Details
-
ClassifierJSONLogging
public ClassifierJSONLogging()
-
-
Method Details
-
getJsonString
Create a standard xml like string of the error data which can be written to the relational database.- Returns:
- Error information in an XML like format.
-
createClassification
Get the CT classification from a string- Parameters:
jsonString
- - the input string.- Returns:
-