Package com.simplicite.util.integration
Class SimpleJSONAdapter
- java.lang.Object
-
- com.simplicite.util.integration.SimpleAdapter
-
- com.simplicite.util.integration.SimpleJSONAdapter
-
- All Implemented Interfaces:
AdapterInterface
,java.io.Serializable
- Direct Known Subclasses:
SimpleYAMLAdapter
public abstract class SimpleJSONAdapter extends SimpleAdapter
JSON adapter.
This class (and its child classes) cannot be instanciated.
They correspond to anAdapter
configuration item.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleJSONAdapter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
process()
Process hook implementation: call process JSON hook with JSON tokenizerabstract java.lang.String
process(org.json.JSONTokener t)
Process JSON hook to implement-
Methods inherited from class com.simplicite.util.integration.SimpleAdapter
append, appendError, appendError, appendLog, appendLog, close, directProcess, getBooleanParameter, getBooleanParameter, getConsole, getErrorStream, getErrorWriter, getGrant, getInputReader, getInputStream, getIntParameter, getIntParameter, getLogStream, getLogWriter, getLongParameter, getLongParameter, getName, getOrigin, getOutputStream, getOutputWriter, getParameter, getParameter, getParameters, getProcessCount, getStatus, getTrackingId, init, postProcess, preProcess, setConsole, setErrorStream, setInputData, setInputStream, setLogStream, setOutputStream, setParameter, setParameter, setParameter, setParameter, setProcessCount, setStatus
-
-
-
-
Method Detail
-
process
public void process() throws java.lang.InterruptedException
Process hook implementation: call process JSON hook with JSON tokenizer- Throws:
java.lang.InterruptedException
- When interrupted
-
process
public abstract java.lang.String process(org.json.JSONTokener t) throws org.json.JSONException, PlatformException, java.lang.InterruptedException
Process JSON hook to implement- Parameters:
t
- JSON tokenizer- Returns:
- Simplicite XML
- Throws:
org.json.JSONException
PlatformException
java.lang.InterruptedException
-
-