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