public class Statistics
extends java.lang.Object
| Constructor and Description |
|---|
Statistics() |
| Modifier and Type | Method and Description |
|---|---|
static net.sf.json.JSONObject |
collectUsageInfo()
Collect program usage info and return it as a JSON object.
|
static void |
refreshUUID()
If the UUID hasn't already been changed this month, changes it.
|
static void |
sendUsageInfo()
Send program usage info to Esmska server if appropriate
(check with
shouldSend()) |
static boolean |
shouldSend()
Decide whether to send statistics to Esmska server or not.
|
public static void refreshUUID()
public static net.sf.json.JSONObject collectUsageInfo()
public static void sendUsageInfo()
shouldSend())public static boolean shouldSend()