Class StatsPrinter
java.lang.Object
se.liu.ida.hefquin.base.utils.StatsPrinter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static org.apache.jena.atlas.json.JsonValueConverts the given object into a JSON value.static voidprint(Stats s, PrintStream out, boolean recursive) Converts the givenStatsobject into a JSON object and, then, prints that JSON object to the specifiedPrintStream.static org.apache.jena.atlas.json.JsonObjectstatsAsJson(Stats s) Converts the givenStatsobject into a JSON object.static org.apache.jena.atlas.json.JsonObjectstatsAsJson(Stats s, boolean recursive) Converts the givenStatsobject into a JSON object.
-
Constructor Details
-
StatsPrinter
public StatsPrinter()
-
-
Method Details
-
print
Converts the givenStatsobject into a JSON object and, then, prints that JSON object to the specifiedPrintStream. -
statsAsJson
-
statsAsJson
Converts the givenStatsobject into a JSON object. -
asJson
Converts the given object into a JSON value.
-