public class PcStringUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
logger
The logger.
|
Constructor and Description |
---|
PcStringUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getAggregatedResultHuman(java.util.Map<java.lang.String,java.util.LinkedHashSet<java.lang.String>> aggregateResultMap)
Get the aggregated result human readable string for easy display.
|
static java.lang.String |
printStackTrace(java.lang.Throwable t)
Prints the stack trace.
|
static java.lang.String |
renderJson(java.lang.Object o)
Render json.
|
static java.lang.String |
strMapToStr(java.util.Map<java.lang.String,java.lang.String> map)
Str map to str.
|
public static java.lang.String printStackTrace(java.lang.Throwable t)
t
- the throwablepublic static java.lang.String strMapToStr(java.util.Map<java.lang.String,java.lang.String> map)
map
- the mappublic static java.lang.String getAggregatedResultHuman(java.util.Map<java.lang.String,java.util.LinkedHashSet<java.lang.String>> aggregateResultMap)
aggregateResultMap
- the aggregate result mappublic static java.lang.String renderJson(java.lang.Object o)
o
- the o