Class StatsPrinterJSON
java.lang.Object
se.liu.ida.hefquin.base.utils.StatsPrinterJSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
print
(Stats s, PrintStream out, boolean recursive) Converts and prints the givenStats
object as JSON to the specifiedPrintStream
.static org.apache.jena.atlas.json.JsonObject
statsAsJson
(Stats s) Converts the givenStats
object as JSON.static org.apache.jena.atlas.json.JsonObject
statsAsJson
(Stats s, boolean recursive) Converts the givenStats
object to a JSON object.
-
Constructor Details
-
StatsPrinterJSON
public StatsPrinterJSON()
-
-
Method Details
-
print
Converts and prints the givenStats
object as JSON to the specifiedPrintStream
. -
statsAsJson
-
statsAsJson
Converts the givenStats
object to a JSON object.
-