public class JSONEventAdapter extends java.lang.Object implements EventAdapter<org.json.JSONObject>
| Constructor and Description |
|---|
JSONEventAdapter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
org.json.JSONObject |
translateFromEvent(InternalEvent source) |
InternalEvent |
translateToEvent(org.json.JSONObject source) |
public org.json.JSONObject translateFromEvent(InternalEvent source)
translateFromEvent in interface EventAdapter<org.json.JSONObject>public java.lang.String toString()
toString in class java.lang.Objectpublic InternalEvent translateToEvent(org.json.JSONObject source) throws org.json.JSONException
translateToEvent in interface EventAdapter<org.json.JSONObject>org.json.JSONException