public class JSONFormatter
extends java.lang.Object
Constructor and Description |
---|
JSONFormatter(java.util.Map props) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
protected void |
finalize() |
static java.lang.String |
format(java.util.List obj,
javax.jms.Message msg,
Template template)
returns a text formatted out of the message and the json payload with
the given template
|
static java.lang.String |
format(java.util.Map obj,
javax.jms.Message msg,
Template template)
returns a text formatted out of the message and the json payload with
the given template
|
int |
format(java.lang.Object json,
javax.jms.Message msg) |
static java.lang.String |
format(java.lang.String obj,
javax.jms.Message msg,
Template template)
returns a text formatted out of the message and the json string with
the given template
|
java.lang.String |
getName() |
int |
getSize() |
static void |
main(java.lang.String[] args) |
public int format(java.lang.Object json, javax.jms.Message msg)
public static java.lang.String format(java.util.Map obj, javax.jms.Message msg, Template template) throws javax.jms.JMSException
javax.jms.JMSException
public static java.lang.String format(java.util.List obj, javax.jms.Message msg, Template template) throws javax.jms.JMSException
javax.jms.JMSException
public static java.lang.String format(java.lang.String obj, javax.jms.Message msg, Template template) throws javax.jms.JMSException
javax.jms.JMSException
public java.lang.String getName()
public int getSize()
public void clear()
protected void finalize()
finalize
in class java.lang.Object
public static void main(java.lang.String[] args)